home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr38 / mpik.zip / MPMANUAL.DOC < prev    next >
Text File  |  1993-06-19  |  230KB  |  5,519 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                     M a c r o P I K ' r
  9.  
  10.  
  11.                     (the data Picker with Macros)
  12.  
  13.  
  14.                     User's Manual (Version 1.5)
  15.                     January 1993
  16.  
  17.  
  18.                     For the IBM Personal Computer family and compatibles.
  19.  
  20.  
  21.                     The MacroPIK'r program and this manual, are
  22.                     copyrighted, and all rights are reserved by Samkhya.
  23.                     Express permission is granted to make copies of this
  24.                     program and documentation -- please see the "Shareware"
  25.                     information on page 4.
  26.  
  27.                     Copyright (c) 1985 1986 1992 1993 Samkhya
  28.  
  29.  
  30.                     S A M K H Y A  //  Software Research & Development
  31.                     27005 Highway 1
  32.                     Post Office Box 13
  33.                     Tomales, CA 94971
  34.  
  35.                     Phone:         707-878-2914
  36.                     Fax:           707-878-2802
  37.                     Compuserve:    71016,460
  38.                     MCI Mail:      SAMKHYACORP
  39.  
  40.                                   _______
  41.                              ____|__     |               (R)
  42.                           --|       |    |-------------------
  43.                             |   ____|__  |  Association of
  44.                             |  |       |_|  Shareware
  45.                             |__|   o   |    Professionals
  46.                           -----|   |   |---------------------
  47.                                |___|___|    MEMBER
  48.  
  49.                     MacroPIK'r (tm) and PIK'r (R) are trademarks of
  50.                     Samkhya.  Other marks are the property of their
  51.                     respective holders.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                     Contents
  65.  
  66.  
  67.  
  68.                          Chapter 1  Introduction                     2
  69.                             MacroPIK'r . . . . . . . . . . . . . . . 2
  70.  
  71.                          Chapter 2  Shareware                        4
  72.                             The ASP Ombudsman  . . . . . . . . . . . 4
  73.                             Shareware  . . . . . . . . . . . . . . . 4
  74.  
  75.                          Chapter 3  Quick Overview                   7
  76.                             Starting MacroPIK'r  . . . . . . . . . . 8
  77.                             Getting Help . . . . . . . . . . . . . . 9
  78.                             Leaving MacroPIK'r . . . . . . . . . . . 9
  79.                             Cursor Movement  . . . . . . . . . . . . 9
  80.                             Picking Data . . . . . . . . . . . . .  10
  81.  
  82.                          Chapter 4  Tutorial                        11
  83.  
  84.                          Chapter 5  Commands                        16
  85.                             Starting MacroPIK'r  . . . . . . . . .  16
  86.                             The MacroPIK'r Screen  . . . . . . . .  18
  87.                                Column Markers Line . . . . . . . .  19
  88.                                Column Widths in the Paste Area . .  19
  89.                             Commands . . . . . . . . . . . . . . .  20
  90.                             Xit-F9  Exit MacroPIK'r  . . . . . . .  21
  91.                             Hlp-F10  Help  . . . . . . . . . . . .  21
  92.                             Pick Commands  . . . . . . . . . . . .  22
  93.                                Col-F2  Pick a Column . . . . . . .  22
  94.                                Row-F4  Pick a Row  . . . . . . . .  23
  95.                                Cel-F6  Pick a Cell . . . . . . . .  23
  96.                                All-F8  Pick Entire Area  . . . . .  23
  97.                             Menu Commands  . . . . . . . . . . . .  24
  98.                                In-F3  The Input Sub-Menu . . . . .  24
  99.                                Pst-F1  Go To the Paste Area  . . .  24
  100.                                Rpt-F1  Go To the Report Area . . .  25
  101.                                Out-F3  The Output Sub-Menu . . . .  25
  102.                                Fix-F5  The Fix Sub-Menu  . . . . .  26
  103.                                Cut-F7  The Cut Sub-Menu  . . . . .  26
  104.                             File Commands  . . . . . . . . . . . .  27
  105.  
  106.  
  107.  
  108.                                                i
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.                                Input Commands  . . . . . . . . . .  27
  116.                                   Flt-F1  Flat (input) . . . . . .  27
  117.                                   Wks-F3  WKS (input)  . . . . . .  27
  118.                                   Dif-F5  DIF (input)  . . . . . .  27
  119.                                   Csv-F7  CSV (input)  . . . . . .  27
  120.                                   Slk-F9  SYLK (input) . . . . . .  27
  121.                                   Fxl-F2  FXL (input)  . . . . . .  27
  122.                                   Dbf-F4  DBF (input)  . . . . . .  27
  123.                                Fnd-F5  Search for a String in the
  124.                                Input File  . . . . . . . . . . . .  29
  125.                                Pag-F7  Goto Another Page . . . . .  30
  126.                                Output Commands . . . . . . . . . .  31
  127.                                   Flt-F1  Flat (output)  . . . . .  31
  128.                                   Wks-F3  WKS (output) . . . . . .  31
  129.                                   Dif-F5  DIF (output) . . . . . .  31
  130.                                   Csv-F7  CSV (output) . . . . . .  31
  131.                                   Slk-F9  SYLK (output)  . . . . .  31
  132.                                   Fxl-F2  FXL (output) . . . . . .  31
  133.                                   Dbf-F4  DBF (output) . . . . . .  31
  134.                             Fix Commands . . . . . . . . . . . . .  34
  135.                                Mrg-F1  Merge Two or More Columns .  34
  136.                                Div-F3  Divide a Column . . . . . .  35
  137.                                Edt-F5  Edit data . . . . . . . . .  35
  138.                                Num-F7  Convert Data to Numbers . .  36
  139.                                Txt-F9  Convert Data to Text  . . .  38
  140.                             Cut Commands . . . . . . . . . . . . .  39
  141.                                Mov-F1  Move Data . . . . . . . . .  39
  142.                                Cpy-F3  Copy Data . . . . . . . . .  40
  143.                                Trn-F5  Transpose Columns and Rows . 40
  144.                                Ins-F7  Insert Empty Columns or
  145.                                Rows  . . . . . . . . . . . . . . .  41
  146.                                Del-F9  Delete Data . . . . . . . .  41
  147.                             Miscellaneous Commands . . . . . . . .  42
  148.                                Ctrl-G Goto . . . . . . . . . . . .  43
  149.                                Ctrl-R Record a Macro . . . . . . .  43
  150.                                Ctrl-X Execute a Macro  . . . . . .  43
  151.                                Ctrl-R Resume a Macro . . . . . . .  44
  152.                                Ctrl-S System Command (DOS) . . . .  44
  153.                                Ctrl-W Repaint Screen . . . . . . .  45
  154.  
  155.                          Chapter 6  Macros                          47
  156.                                Introduction  . . . . . . . . . . .  47
  157.                                The Record Command  . . . . . . . .  47
  158.                                The Execute Command . . . . . . . .  47
  159.                                Macro Execution From DOS  . . . . .  48
  160.                                Special Key Functions . . . . . . .  48
  161.                                Macro Command Grammar . . . . . . .  49
  162.  
  163.  
  164.  
  165.                                               ii
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.                                Macro Coordinates . . . . . . . . .  50
  173.                                Absolute Coordinates  . . . . . . .  51
  174.                                Macro Subroutines . . . . . . . . .  51
  175.                                Macro Parameters  . . . . . . . . .  51
  176.                             Macro Command Summary  . . . . . . . .  52
  177.  
  178.                          Chapter 7  Errors & Questions              62
  179.                             Error Messages . . . . . . . . . . . .  62
  180.                             Common Questions . . . . . . . . . . .  70
  181.  
  182.                          Chapter 8  Technical Details               74
  183.                             Command Line Arguments . . . . . . . .  74
  184.                             Temporary Files, DOS, and File
  185.                             Handles  . . . . . . . . . . . . . . .  77
  186.                             Memory Usage . . . . . . . . . . . . .  77
  187.                             File Names . . . . . . . . . . . . . .  78
  188.                             File Formats . . . . . . . . . . . . .  78
  189.                                Flat  . . . . . . . . . . . . . . .  78
  190.                                WKS . . . . . . . . . . . . . . . .  78
  191.                                DIF . . . . . . . . . . . . . . . .  80
  192.                                CSV . . . . . . . . . . . . . . . .  80
  193.                                SYLK  . . . . . . . . . . . . . . .  81
  194.                                dBASE . . . . . . . . . . . . . . .  81
  195.                                Fixed Length  . . . . . . . . . . .  82
  196.                             The Mouse  . . . . . . . . . . . . . .  82
  197.                             Numbers and Text . . . . . . . . . . .  83
  198.  
  199.                          Chapter 9  License, Warranty & Support     85
  200.                             License  . . . . . . . . . . . . . . .  85
  201.                             Warranty . . . . . . . . . . . . . . .  86
  202.                                Disclaimer  . . . . . . . . . . . .  86
  203.                                Guarantee . . . . . . . . . . . . .  86
  204.                             Support  . . . . . . . . . . . . . . .  87
  205.                             Upgrades . . . . . . . . . . . . . . .  87
  206.  
  207.                          Chapter 10  Order Form                     89
  208.  
  209.                          Index                                      91
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.                                               iii
  223.  
  224.           Chapter 1                                  MacroPIK'r User Manual
  225.                                                                Introduction
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.                                       Chapter 1
  236.  
  237.                                     Introduction
  238.  
  239.  
  240.           MacroPIK'r
  241.  
  242.  
  243.           MacroPIK'r is a data conversion program you can use to Browse,
  244.           Cut and Paste, Edit, and Reformat data between popular file
  245.           formats for spreadsheet and database programs.
  246.  
  247.           You can record Macros to make repetitive tasks fully automatic.
  248.  
  249.           MacroPIK'r can easily deal with data that was meant for humans
  250.           (not computers), like reports from mainframes or other programs,
  251.           data with embedded commas, European formats, etc.
  252.  
  253.           Whether your data comes from a mainframe computer, laboratory
  254.           instruments, industrial monitoring equipment, or another program
  255.           on your personal computer, MacroPIK'r can help you load that data
  256.           into your spreadsheet or database program quickly, easily and
  257.           without rekeying.
  258.  
  259.           MacroPIK'r will convert data to and from these formats:
  260.  
  261.               o  The Flat (standard, printable ASCII text) format used by
  262.                  most text editors and, in one way or another, most other
  263.                  programs too.  Mainframe reports are often available in
  264.                  this format.
  265.  
  266.               o  The Lotus 1-2-3 worksheet formats, compatible with most
  267.                  other spreadsheets as well.
  268.  
  269.               o  The DIF (Data Interchange Format) -- once used by Visicalc
  270.                  -- is used by hundreds of programs.
  271.  
  272.               o  The CSV (Comma Separated Values) format (also called PRN,
  273.                  or System Delimited, or ASCII Delimited) used by many
  274.                  spreadsheet and database programs.
  275.  
  276.  
  277.  
  278.  
  279.                                                                      Page 2
  280.  
  281.           Chapter 1                                  MacroPIK'r User Manual
  282.                                                                Introduction
  283.  
  284.  
  285.  
  286.               o  The SYLK (SYmbolic LinK) format used by Microsoft
  287.                  products.
  288.  
  289.               o  The FXL (Fixed-Length Record) format used by many
  290.                  mainframe systems and some personal computer database
  291.                  applications.
  292.  
  293.               o  The dBASE DBF format used by all of the dBASE compatible
  294.                  databases and many other programs.
  295.  
  296.           MacroPIK'r allows you to mix data in several different formats in
  297.           one session: load portions of a mainframe report, combine it with
  298.           a memo from your word processor, then save the combination for
  299.           1-2-3.
  300.  
  301.           MacroPIK'r is menu driven, and uses a full screen interface that
  302.           allows you to see your data at all times.  For automating
  303.           sequences of commands or even entire sessions, you can record
  304.           commands given to MacroPIK'r as you type them (a "learn" mode)
  305.           then play them back, either from within MacroPIK'r or from a DOS
  306.           batch file.  Detailed on-line Help, the Quick Reference Guide,
  307.           and this manual, guide you through these and all other aspects of
  308.           operation.
  309.  
  310.           But don't feel as though you must read every page of the Manual
  311.           before you get started.  The "Quick Overview" section covers the
  312.           basics of solving simple data conversion problems.  Then, as you
  313.           grow more experienced, use the manual as a reference guide to
  314.           solve more complex problems.
  315.  
  316.  
  317.  
  318.                 "Samkhya" is an ancient Sanskrit term denoting
  319.                 'precision', 'enumeration', and 'exactness'.
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                                                      Page 3
  337.  
  338.           Chapter 2                                  MacroPIK'r User Manual
  339.                                                                   Shareware
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.                                       Chapter 2
  350.  
  351.                                       Shareware
  352.  
  353.  
  354.           The ASP Ombudsman
  355.  
  356.  
  357.           Samkhya is a member of the Association of Shareware Professionals
  358.           (ASP).  ASP wants to make sure that the shareware principle works
  359.           for you.  If you are unable to resolve a shareware-related
  360.           problem with an ASP member by contacting the member directly, ASP
  361.           may be able to help.  The ASP Ombudsman can help you resolve a
  362.           dispute or problem with an ASP member, but does not provide
  363.           technical support for member's products.  Please write to the ASP
  364.           Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a
  365.           CompuServe message via CompuServe Mail to ASP Ombudsman
  366.           70007,3536.
  367.  
  368.  
  369.           Shareware
  370.  
  371.  
  372.           The following information is provided courtesy of the Association
  373.           of Shareware Professionals (ASP).  This describes what shareware
  374.           is and how you benefit:
  375.  
  376.  
  377.                           * * * * * * * * * * * * * * *
  378.  
  379.              Shareware distribution gives users a chance to try software
  380.              before buying it.  If you try a Shareware program and continue
  381.              using it, you are expected to register.  Individual programs
  382.              differ on details -- some request registration while others
  383.              require it, some specify a maximum trial period.  With
  384.              registration, you get anything from the simple right to
  385.              continue using the software to an updated program with printed
  386.              manual.
  387.  
  388.              Copyright laws apply to both Shareware and commercial
  389.              software, and the copyright holder retains all rights, with a
  390.  
  391.  
  392.  
  393.                                                                      Page 4
  394.  
  395.           Chapter 2                                  MacroPIK'r User Manual
  396.                                                                   Shareware
  397.  
  398.  
  399.  
  400.              few specific exceptions as stated below.  Shareware authors
  401.              are accomplished programmers, just like commercial authors,
  402.              and the programs are of comparable quality.  (In both cases,
  403.              there are good programs and bad ones!)  The main difference is
  404.              in the method of distribution.  The author specifically grants
  405.              the right to copy and distribute the software, either to all
  406.              and sundry or to a specific group.  For example, some authors
  407.              require written permission before a commercial disk vendor may
  408.              copy their Shareware.
  409.  
  410.              Shareware is a distribution method, not a type of software.
  411.              You should find software that suits your needs and pocketbook,
  412.              whether it's commercial or Shareware.  The Shareware system
  413.              makes fitting your needs easier, because you can try before
  414.              you buy.  And because the overhead is low, prices are low
  415.              also.  Shareware has the ultimate money-back guarantee -- if
  416.              you don't use the product, you don't pay for it.
  417.  
  418.              This is a "shareware program" and is provided at no charge to
  419.              you for evaluation.  Feel free to share it with your friends,
  420.              but please do not give it away altered or as part of another
  421.              system.  The essence of "user-supported" software is to
  422.              provide personal computer users with quality software without
  423.              high prices, and yet to provide incentive for programmers to
  424.              continue to develop new products.
  425.  
  426.                             * * * * * * * * * * * * * * *
  427.  
  428.  
  429.           If you find MacroPIK'r useful and find that you are using it and
  430.           continue to use it after a reasonable trial period, Please make a
  431.           registration payment of $35.00 US to SAMKHYA.  The $35
  432.           registration fee will license one copy for use on any one
  433.           computer at any one time.  You will receive a receipt, a copy of
  434.           the current version of MacroPIK'r, one year of support and
  435.           upgrades, and a bonus package of useful utilities.  See the Order
  436.           Form (file MP-ORDER.FRM) for details.
  437.  
  438.           Site-License arrangements may be made by contacting SAMKHYA.
  439.           This is very economical if you plan to license more than one or
  440.           two copies.
  441.  
  442.           Anyone distributing MacroPIK'r for remuneration must contact
  443.           SAMKHYA for authorization.
  444.  
  445.           This authorization will be automatically granted to distributors
  446.           recognized by the ASP as adhering to its guidelines for shareware
  447.  
  448.  
  449.  
  450.                                                                      Page 5
  451.  
  452.           Chapter 2                                  MacroPIK'r User Manual
  453.                                                                   Shareware
  454.  
  455.  
  456.  
  457.           distributors, and such distributors may begin offering MacroPIK'r
  458.           immediately (However SAMKHYA must still be advised so that the
  459.           distributor can be kept up-to-date with the latest version of
  460.           MacroPIK'r).
  461.  
  462.           If you are in the business of distributing shareware, please
  463.           contact SAMKHYA so that you can be sure to get the most recent
  464.           version and updates.  See the files "VENDOR.DOC" or "SYSOP.DOC"
  465.           for more information.  Call or write if you have questions or
  466.           suspect that files may be missing or damaged.
  467.  
  468.           Note that even if you paid a small amount of money for the disk
  469.           that included MacroPIK'r, that does not mean that you have
  470.           registered.  There are many businesses that sell bundles of
  471.           shareware for a small fee to cover the cost of the diskettes and
  472.           other overhead.  Also, hard disk vendors may include a collection
  473.           of shareware with each hard disk they sell.  In each case, you
  474.           are encouraged to try whatever programs look useful, but you
  475.           still have to register if you end up using it.
  476.  
  477.           You are encouraged to pass a copy of MacroPIK'r along to your
  478.           friends for evaluation.  Be sure you include all of the files
  479.           that came with MacroPIK'r when you pass it along -- or just give
  480.           them the self-extracing archive "MPIK.EXE" so that all the files
  481.           and documentation are kept together in the least amount of space.
  482.           And please encourage them to register their copy if they find
  483.           that they benefit from it.
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.                                                                      Page 6
  508.  
  509.           Chapter 3                                  MacroPIK'r User Manual
  510.                                                              Quick Overview
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.                                       Chapter 3
  521.  
  522.                                    Quick Overview
  523.  
  524.  
  525.           This section is a quick overview of how to use MacroPIK'r:
  526.           starting and stopping the program, how to use the commands and
  527.           cursor functions and how to display on-line help.  For more
  528.           information on each of MacroPIK'r's commands, turn to the Command
  529.           Summary section.
  530.  
  531.           Print out the "MacroPIK'r Quick Reference Guide" and keep it
  532.           handy for this discussion.  You can use any of these commands to
  533.           do so, or any other procedure you may normally use for printing
  534.           text files:
  535.  
  536.                PRINT MPQUICK.PRN
  537.           or
  538.                COPY MPQUICK.PRN PRN:
  539.  
  540.           MacroPIK'r will convert data from and to six of the most commonly
  541.           used data formats in use on personal computers.  To manage this
  542.           process, it uses two "work" areas: the Report Area (where you see
  543.           your input files) and the Paste Area (where you build your output
  544.           files).
  545.  
  546.           In the Report Area you can look at the file you want to convert
  547.           from, select (or "pick") any rectangular piece of it, and copy it
  548.           to the Paste Area where it is saved along with any previous data
  549.           you have picked.  You can pick data from several places in a
  550.           file, or from several different files.
  551.  
  552.           In the Paste Area you can look at the data, edit and rearrange
  553.           it, and convert all or part of it for your spreadsheet or
  554.           database program.  Your original input files are not altered;
  555.           MacroPIK'r copies the data into a form that the other programs
  556.           can use.
  557.  
  558.           The function keys represent MacroPIK'r's menu of commands. These
  559.           commands can be used in two ways: you can press one of the
  560.           function keys on the keyboard, or you can move the cursor (say
  561.  
  562.  
  563.  
  564.                                                                      Page 7
  565.  
  566.           Chapter 3                                  MacroPIK'r User Manual
  567.                                                              Quick Overview
  568.  
  569.  
  570.  
  571.           with a mouse) to the picture of the function key on the screen
  572.           and press DO-IT (e.g. the left mouse button, or the Enter key --
  573.           either one "does" it).  Whenever the cursor enters the on-screen
  574.           key, MacroPIK'r displays a brief description of the key's command
  575.           in the status line at the top of the screen.
  576.  
  577.           Some of MacroPIK'r's commands are accessed from Sub-Menus.  To
  578.           select one of these commands, first select the command that
  579.           displays the appropriate Sub-Menu, then select the command.  To
  580.           return to the original menu press Esc.
  581.  
  582.  
  583.           Starting MacroPIK'r
  584.  
  585.  
  586.           Check the Quick Reference Guide for details, or exceptions that
  587.           may apply to you, but normally all you need to do is type the
  588.           name of the MacroPIK'r program file, MPIK'R.EXE, at the DOS
  589.           prompt:
  590.  
  591.                C>mpik'r
  592.  
  593.           You may need to also type a command line switch after "mpik'r"
  594.           and before the Enter, such as:
  595.  
  596.                C>mpik'r -bw
  597.  
  598.           You can also type the name of an input file you want to view, or
  599.           you can start MacroPIK'r first and then use the Input commands to
  600.           open the file.  This command will start MacroPIK'r with the
  601.           sample data file "TUTOR1.DAT":
  602.  
  603.                C>mpik'r tutor1.dat
  604.  
  605.           This sample file happens to be a plain (ASCII) text, or "flat",
  606.           file.  If you wanted to start out browsing a dBASE compatible
  607.           file called "MYDATA.DBF" you would enter it like this:
  608.  
  609.                C>mpik'r -dbf mydata.dbf
  610.  
  611.           Once MacroPIK'r starts, you will see the startup copyright screen
  612.           for a few seconds, then the regular Report Area screen.  Your
  613.           data will be displayed if you specified it on the command line,
  614.           like above, or you can press the F3 function key to go to the
  615.           Input Menu, then use one of the commands there to bring up your
  616.           data.
  617.  
  618.  
  619.  
  620.  
  621.                                                                      Page 8
  622.  
  623.           Chapter 3                                  MacroPIK'r User Manual
  624.                                                              Quick Overview
  625.  
  626.  
  627.  
  628.           MacroPIK'r will display directory information so you can choose
  629.           your file from a list.  Specify a "wildcard" file name, like *.*,
  630.           or data??.dbf, and MacroPIK'r will show you all the matching
  631.           entries from the current directory.  Simply move the cursor to a
  632.           file and press DO-IT.
  633.  
  634.  
  635.           Getting Help
  636.  
  637.  
  638.           To display Help information from any menu, press function key
  639.           Hlp-F10.  A Help Page describing the commands that are currently
  640.           available is displayed along with instructions on how to see
  641.           other related Help Pages.  To return to where you left off in
  642.           MacroPIK'r, press Esc.
  643.  
  644.  
  645.           Leaving MacroPIK'r
  646.  
  647.  
  648.           To stop MacroPIK'r, press Esc enough times to take you out of any
  649.           sub-menus, back to either the Report Area or Paste Area Menu.
  650.           Then press function key Xit-F9.  MacroPIK'r will ask if you have
  651.           saved any data from the Paste Area - type a Y (or the right
  652.           button on the mouse) to exit; or anything else to stay in
  653.           MacroPIK'r.  To make sure that you have saved any data you want
  654.           to keep before exiting, use one of the Output commands.
  655.  
  656.  
  657.           Cursor Movement
  658.  
  659.  
  660.           The cursor is displayed as either a blinking box or cross on the
  661.           screen.  The arrow keys (Up-Arrow, Down-Arrow, Right-Arrow,
  662.           Left-Arrow) move the cursor to any position on the screen, while
  663.           the other cursor movement commands move the cursor (and the Text
  664.           Window) to any position in the Report Area or Paste Area.  Also,
  665.           when the cursor is near the edge of the Text Window, DO-IT will
  666.           move the Text Window so that it's centered over the cursor.
  667.  
  668.           Also, notice that there is a "map" of the input file at the lower
  669.           left edge of the display.  Assume that the entire map box
  670.           represents the entire input file (or page) -- then the
  671.           highlighted portion shows roughly the fraction you currently see
  672.           in the main window.  You can move the cursor into the map area,
  673.           then press DO-IT on the portion you want to see.  The display
  674.           will scroll to show that portion of the input.
  675.  
  676.  
  677.  
  678.                                                                      Page 9
  679.  
  680.           Chapter 3                                  MacroPIK'r User Manual
  681.                                                              Quick Overview
  682.  
  683.  
  684.  
  685.           Picking Data
  686.  
  687.  
  688.           Many of MacroPIK'r's commands need a region of data to be picked
  689.           first.  You can pick any rectangular region of data, then
  690.           "adjust" or stretch the picked region if need be.
  691.  
  692.           To pick a column, row, or cell, first press the function key
  693.           Col-F2, Row-F4, or Cel-F6, then move the cursor to the data and
  694.           press DO-IT.  To pick the entire page in the Report Area, or the
  695.           entire Paste Area, press All-F8.  To cancel the picked region of
  696.           data, press the function key again.
  697.  
  698.           To adjust (stretch) a picked region, hold down the Shift key and
  699.           move the cursor to the boundary of the picked region (or hold
  700.           down the left mouse button and move the mouse).  The boundary
  701.           will move with the cursor until Shift (or the mouse button) is
  702.           released.  This is easier to do than to describe.
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.                                                                     Page 10
  736.  
  737.           Chapter 4                                  MacroPIK'r User Manual
  738.                                                                    Tutorial
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.                                       Chapter 4
  749.  
  750.                                       Tutorial
  751.  
  752.  
  753.           This is a detailed description of exactly how to use MacroPIK'r
  754.           to move data from a sample ASCII text file (included on the
  755.           distribution disk) to spreadsheet or database programs.  We won't
  756.           try to demonstrate all of MacroPIK'r's capabilities and commands,
  757.           but enough so that when you are finished with the tutorial you
  758.           will be able to explore MacroPIK'r on your own, with the help of
  759.           the Help key and this manual.
  760.  
  761.           We assume that you are somewhat familiar with your PC: how to
  762.           start it up, how to use the simple DOS commands such as 'copy',
  763.           'type', and 'dir', how to start programs, and that you have to
  764.           press the Enter key at the end of a DOS command.
  765.  
  766.           We will try to define new terminology as it comes up, but if you
  767.           are confused about what something means, check your DOS manual or
  768.           any of the popular books on DOS.
  769.  
  770.           Make the directory where you have installed MacroPIK'r the
  771.           default directory.  For example, if MacroPIK'r is installed in
  772.           directory \MPIK on drive D:
  773.  
  774.                d:
  775.                cd \mpik
  776.  
  777.           Be sure that the files mpik'r.exe, mpik'r.hlp, tutor3.dat, and
  778.           the batch files such as mpikc.bat, mpikm.bat, etc. are present.
  779.           We will be using these files in the tutorials.
  780.  
  781.           This is a fairly complex example, but it is a good tour of
  782.           MacroPIK'r.  Here we go.
  783.  
  784.           In this tutorial we will look at a yearly revenue report and save
  785.           part of its data using the CSV format for 1-2-3, and part of it
  786.           using the Flat format for a word processing program.
  787.  
  788.  
  789.  
  790.  
  791.  
  792.                                                                     Page 11
  793.  
  794.           Chapter 4                                  MacroPIK'r User Manual
  795.                                                                    Tutorial
  796.  
  797.  
  798.  
  799.           We will use the report in the file "tutor3.dat".  Again, this is
  800.           a wide report.  We don't have room to show its full width here,
  801.           but here's what the first few lines look like:
  802.  
  803.  
  804.                            * * * * * * * * * * * * * * * *
  805.  
  806.           NORTHWEST REGION                                          PAGE 01
  807.  
  808.            FOR THE PERIOD ENDING SEP 84 REVENUE(IN DOLLARS) FOR PRODUCT ...
  809.  
  810.           CORPID COMPANY NAME           OCT     NOV     DEC     JAN     FEB
  811.           ------ ------------------     ---     ---     ---     ---     ---
  812.           AB1223 BADD CORP                0       0       0       0       0
  813.           BC1459 HENRY'S POWER VAC    95214   88814   91664  131782   88270
  814.           CD5569 BENNIE GROUP LIFE      217     299     320     249     262
  815.  
  816.                            * * * * * * * * * * * * * * * *
  817.  
  818.  
  819.           We'll be using MacroPIK'r to save the data in the "CORPID" column
  820.           and all the monthly revenue figures for 1-2-3.  Then we'll save
  821.           the monthly revenue totals for a word processor.
  822.  
  823.           Start MacroPIK'r:
  824.                mpik'r tutor3.dat
  825.  
  826.           After the greeting message appears, press any key.  Your screen
  827.           should show the upper right portion of the report.
  828.  
  829.           The monthly revenue columns cover a fiscal year starting in
  830.           October.  Press the End key to verify this for yourself, then
  831.           press Home to return to the top.
  832.  
  833.           Let's start by picking the rows from "CORPID" through "TOTAL".
  834.           Move the cursor with the down-arrow key to "CORPID", then press
  835.           Row-F4.  Press the DO-IT key and the row is displayed in inverse.
  836.           Stretch the picked row down to include all the data, through the
  837.           "TOTAL" row, by holding down the shift key and pressing down-
  838.           arrow eleven times.
  839.  
  840.           Now we'll copy these rows to the Paste Area. Press Pst-F1.  You
  841.           should see the same data divided into columns in the Paste Area.
  842.  
  843.           Next, we'll save just the corporate ID's ("CORPIDs") and the
  844.           monthly revenues, without the "TOTAL" row, for 1-2-3.  For our
  845.  
  846.  
  847.  
  848.  
  849.                                                                     Page 12
  850.  
  851.           Chapter 4                                  MacroPIK'r User Manual
  852.                                                                    Tutorial
  853.  
  854.  
  855.  
  856.           purposes, we don't need the "COMPANY NAME" column or the row with
  857.           the dashes in it, so we'll delete both of them.
  858.  
  859.           First, move the cursor to the top left by pressing Home.  Then
  860.           move to column B by pressing Tab.  (Each press of the tab key Tab
  861.           moves the cursor one column to the right, until it reaches the
  862.           end; then it jumps to the first column of the next row.  Back-Tab
  863.           -- the shifted tab key -- goes to the left and up instead.)
  864.  
  865.           Select the column by pressing Col-F2 and then the DO-IT key.  The
  866.           column should "select" in reverse video.  Next, go to the Cut
  867.           Sub-Menu by pressing Cut-F7, then press Del-F9 and Y.  This gets
  868.           rid of column B, and the columns to the right shift over to the
  869.           left to fill in the space.
  870.  
  871.           Next we'll delete the row of dashes.  Move down a row with down-
  872.           arrow so the cursor is on the dashes, then press Row-F4, DO-IT,
  873.           and Del-F9.
  874.  
  875.           Press Y to finish the deletion, then Esc to return to the Paste
  876.           Area Menu.  The row of dashes should disappear.  This is roughly
  877.           what you should see at this point:
  878.  
  879.  
  880.                            * * * * * * * * * * * * * * * *
  881.  
  882.             CORPID   |   OCT   |   NOV   |   DEC   |   JAN   |   FEB   |
  883.             AB1223   |     0   |     0   |     0   |     0   |     0   |
  884.             BC1459   | 95214   | 88814   | 91664   |131782   | 88270   |
  885.             CD5569   |   217   |   299   |   320   |   249   |   262   |
  886.             DE3507   |   167   |   167   |   167   |   167   |   167   |
  887.             EG2259   |114456   | 98952   |105888   |103670   | 95234   |
  888.             FR4563   |  2922   |  1957   |  2158   |  1931   |  1937   |
  889.             GG4550   |   786   |   782   |   767   |   962   |   503   |
  890.             HT9921   |467282   |403648   |439084   |454124   |453687   |
  891.             LR6666   |   255   |   266   |   263   |   199   |   188   |
  892.              TOTAL   |681299   |594885   |640311   |693084   |640249   |
  893.  
  894.                            * * * * * * * * * * * * * * * *
  895.  
  896.  
  897.           Now we'll save the corporate ID's and monthly revenues.  If it
  898.           isn't already there, move the cursor to the row beginning with
  899.           "AB1223".  First select the data to output: Press Row-F4 followed
  900.           by DO-IT.  Adjust the picked row down through the "LR6666" row by
  901.           holding the shift key and pressing down-arrow eight times.  Then,
  902.           Out-F3 to select the Output Sub-Menu, then press Csv-F7 and type
  903.  
  904.  
  905.  
  906.                                                                     Page 13
  907.  
  908.           Chapter 4                                  MacroPIK'r User Manual
  909.                                                                    Tutorial
  910.  
  911.  
  912.  
  913.           in the output file name "t3.dat".  Use the default delimiter
  914.           (commas).
  915.  
  916.           Press DO-IT and MacroPIK'r will output the file.
  917.  
  918.           Next we'll delete the rows we just saved, then save the totals
  919.           for a word processing file.
  920.  
  921.           Press Esc to get back to the Paste Area Menu, then press Cut-F7,
  922.           and Del-F9.  Press Y to complete the Delete command, then press
  923.           Esc to get back to the Paste Area Menu, followed by Fix-F5.  Move
  924.           the cursor to the upper left by pressing Home, then select the
  925.           "CORPID" cell (we want to edit it to say "MONTH") by pressing
  926.           Cel-F6, then DO-IT.  Press Edt-F5 and type in the new contents of
  927.           the cell: " MONTH":
  928.  
  929.  
  930.                            * * * * * * * * * * * * * * * *
  931.  
  932.              MONTH   |   OCT   |   NOV   |   DEC   |   JAN   |   FEB   |
  933.              TOTAL   |681299   |594885   |640311   |693084   |640249   |
  934.  
  935.                            * * * * * * * * * * * * * * * *
  936.  
  937.  
  938.           Then press the Edt-F5 key again to make the change permanent.
  939.  
  940.           What we want to include in the document we're word-processing is
  941.           a two column summary of total sales by month, but what we have is
  942.           two rows instead.  MacroPIK'r can switch rows into columns, or
  943.           columns into rows, as part of a Move or Copy command.  This is
  944.           called "transposing" rows and columns.
  945.  
  946.           So we'll start a Move command, then use the Transpose command to
  947.           transpose the two rows into two columns.  Press Esc to get back
  948.           to the Paste Area Menu again, then Cut-F7.  (This is where the
  949.           move and transpose commands are.)  Select the entire Paste Area
  950.           with All-F8, then press Mov-F1 to begin a move operation.  (Note
  951.           that the move can be to the same place it started from, which is
  952.           what we will do here.)  Press Trn-F5 and an outline of where the
  953.           data will move will appear in columns A and B.  Press Mov-F1
  954.           again to finish the move-transpose:
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.                                                                     Page 14
  964.  
  965.           Chapter 4                                  MacroPIK'r User Manual
  966.                                                                    Tutorial
  967.  
  968.  
  969.  
  970.                            * * * * * * * * * * * * * * * *
  971.  
  972.                                   MONTH|    TOTAL|
  973.                                     OCT|   681299|
  974.                                     NOV|   594885|
  975.                                     DEC|   640311|
  976.                                     JAN|   693084|
  977.                                     FEB|   640249|
  978.                                     MAR|   682286|
  979.                                     APR|   557487|
  980.                                     MAY|   623551|
  981.                                     JUN|   551325|
  982.                                     JUL|   551055|
  983.                                     AUG|   552412|
  984.                                     SEP|   418970|
  985.  
  986.                            * * * * * * * * * * * * * * * *
  987.  
  988.  
  989.           Now we need to save our work.  (Notice that the transposed data
  990.           is still "picked".)  Press Esc to get back to the Paste Area
  991.           Menu, then Out-F3.  Press Flt-F1 for the "Flat" word-processor
  992.           format, and type the file name "t3.flt".
  993.  
  994.           Press DO-IT to finish the command.  Then, when MacroPIK'r is
  995.           finished saving the rows, press Esc to return to the Paste Area
  996.           Menu.  Press Xit-F9 and Y to exit from MacroPIK'r back to DOS.
  997.  
  998.           The two files we created, "t3.dat" for 1-2-3 and "t3.flt" for a
  999.           word processing program, can now be used by their respective
  1000.           programs.
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.                                                                     Page 15
  1021.  
  1022.           Chapter 5                                  MacroPIK'r User Manual
  1023.                                                                    Commands
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.                                       Chapter 5
  1034.  
  1035.                                       Commands
  1036.  
  1037.  
  1038.           Starting MacroPIK'r
  1039.  
  1040.  
  1041.           For installation, please follow the instructions in the
  1042.           README.DOC file that comes with MacroPIK'r.  (This will put all
  1043.           the MacroPIK'r files in a directory, such as "\MPIK".)  You can
  1044.           start MacroPIK'r like any other DOS program, by simply typing its
  1045.           name at the command prompt.  You may have to type the "path" to
  1046.           the MacroPIK'r directory too:
  1047.  
  1048.                \mpik\mpik'r
  1049.  
  1050.           We have provided a number of simple Batch files that will run
  1051.           MacroPIK'r and pass some hardware support switches to it:
  1052.  
  1053.                mpikc.bat     color graphics adapter (VGA, EGA, CGA) with
  1054.                              color monitor (fastest, uses direct hardware
  1055.                              access for screen display)  Same as "-hdwr -
  1056.                              color".
  1057.  
  1058.                mpikm.bat     monochrome display adapter (also uses
  1059.                              hardware)  Same as "-hdwr -mono".
  1060.  
  1061.                mpikbw.bat    color graphics adapter with black-and-white
  1062.                              monitor (Handy for laptops)  Same as "-hdwr -
  1063.                              bw".
  1064.  
  1065.                mpikb.bat     IBM-PC compatible BIOS monochrome (slower,
  1066.                              uses BIOS for screen display)  Same as "-
  1067.                              bios -mono".
  1068.  
  1069.                mpikd.bat     IBM-PC compatible DOS monochrome (slowest,
  1070.                              uses DOS ANSI for screen display)  Same as "-
  1071.                              dos -mono".
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.                                                                     Page 16
  1078.  
  1079.           Chapter 5                                  MacroPIK'r User Manual
  1080.                                                                    Commands
  1081.  
  1082.  
  1083.  
  1084.           If you want to use one of these, instead of passing command line
  1085.           switches to mpik'r.exe, just copy it to a directory in your PATH
  1086.           (or add the directory that MacroPIK'r is in to your PATH).  Note
  1087.           that MacroPIK'r will do a good job of figuring out what kind of
  1088.           display adapter you have, so you normally don't need these.  The
  1089.           default video access mode is "-bios", using the BIOS for screen
  1090.           display.
  1091.  
  1092.           After the program is loaded from the disk you should see the
  1093.           copyright screen, within a few seconds at most.
  1094.  
  1095.           As an option, you may type one of the commands above followed by
  1096.           a "flag" and then the name of an input file on the same line,
  1097.           before pressing Enter.
  1098.  
  1099.                -flt          Flat (Standard ASCII text)
  1100.                -wks          WKS (Lotus WR1, WK1, WKS formats)
  1101.                -dif          DIF (Data Interchange Format)
  1102.                -csv[X]       CSV (Comma Separated Values, optional
  1103.                              delimiter character [X])
  1104.                -slk          SYLK (Microsoft)
  1105.                -fxl[N]       FXL (Fixed-Length Records of length [N])
  1106.                -dbf          dBASE "DBF" file
  1107.  
  1108.           For example
  1109.  
  1110.                mpikm -wks myfile.wk1
  1111.  
  1112.           will display the upper left portion of the WKS (Lotus worksheet)
  1113.           file "myfile.wk1" after the program starts.
  1114.  
  1115.           The -csv flag may optionally be followed by a single character to
  1116.           use as a field delimiter.  For example
  1117.  
  1118.                mpikm -csv: register.csv
  1119.  
  1120.           will display the first part of the CSV file "register.csv"
  1121.           interpreting colons (:) in the file as the separator character
  1122.           instead of commas (the default).
  1123.  
  1124.           The -fxl flag must be followed by a number which indicates the
  1125.           length of each record in the file, since record termination
  1126.           characters (such as carriage returns and newlines) are not used
  1127.           in this format.  For example
  1128.  
  1129.                mpikm -fxl80 report.fxl
  1130.  
  1131.  
  1132.  
  1133.  
  1134.                                                                     Page 17
  1135.  
  1136.           Chapter 5                                  MacroPIK'r User Manual
  1137.                                                                    Commands
  1138.  
  1139.  
  1140.  
  1141.           will display the first part of the 80 character per record FXL
  1142.           file "report.fxl".
  1143.  
  1144.           If you omit the flag, the file is assumed to be in the Flat
  1145.           (standard ASCII) format.  If you omit the file name, you can use
  1146.           the Input command after MacroPIK'r starts to display a file.
  1147.  
  1148.           Once you are in MacroPIK'r you may open, in succession, as many
  1149.           files, of any type, as you like.
  1150.  
  1151.           If you are setting up batch files that invoke MacroPIK'r, you can
  1152.           also start MacroPIK'r and begin a Macro, with parameters, from
  1153.           the command line:
  1154.  
  1155.                mpikc -dbf mydata.dbf @mymacro out.dat 42
  1156.  
  1157.           This runs MacroPIK'r in color, opens the input file 'mydata.dbf'
  1158.           as a dBASE file, then loads and runs the macro 'mymacro.mp' and
  1159.           passes it the two parameters 'out.dat' (possibly a file name?)
  1160.           and '42'.  You can set up your macros to be as complex as you
  1161.           wish -- they can call other macros, open and close input and
  1162.           output files, run DOS commands, and so on.
  1163.  
  1164.  
  1165.           The MacroPIK'r Screen
  1166.  
  1167.  
  1168.               o  Top left: the Esc key is used to cancel commands and Sub-
  1169.                  Menus.  You can either click the mouse on the Esc field in
  1170.                  the screen, or press the Esc key on the keyboard.
  1171.  
  1172.               o  Top left, just below Esc: the Menu Indicator shows the
  1173.                  name of the menu currently displayed.
  1174.  
  1175.               o  Left side of screen: the Function Keys show the current
  1176.                  menu of commands.
  1177.  
  1178.               o  Bottom left: the highlighted portion of the Map Area shows
  1179.                  what part of your data is currently displayed in the Text
  1180.                  Window.
  1181.  
  1182.               o  Top of screen: the Status Line displays current status
  1183.                  information or brief descriptions of function key
  1184.                  commands.
  1185.  
  1186.               o  Second line, below Status: the Column Marks or Column
  1187.                  Names -- where the data is divided into columns -- press
  1188.  
  1189.  
  1190.  
  1191.                                                                     Page 18
  1192.  
  1193.           Chapter 5                                  MacroPIK'r User Manual
  1194.                                                                    Commands
  1195.  
  1196.  
  1197.  
  1198.                  DO-IT to toggle a ">" mark to change a Report column
  1199.                  division, or to adjust column widths in the Paste Area
  1200.                  (select columns first).  See below.
  1201.  
  1202.               o  Main part of screen: the Text Window is a window into your
  1203.                  data; it can be moved or "scrolled" to look at different
  1204.                  parts of your data.
  1205.  
  1206.               o  Data in a picked region is always HIGHLIGHTED (dark
  1207.                  characters on a light background).
  1208.  
  1209.           Column Markers Line
  1210.  
  1211.           Setting Column Markers (Dividers) in the Report Area: MacroPIK'r
  1212.           will set the column dividers based on whatever the input file has
  1213.           for the "structured" formats CSV, SYLK, DIF, WKS, and DBF.  It
  1214.           will try to guess for flat and fixed-length record files.  In any
  1215.           case you can adjust the column dividers yourself.
  1216.  
  1217.           To change the column markers, move the cursor to the line above
  1218.           the Report Area where the ">" marks are -- actually either of the
  1219.           top two lines.  Pressing DO-IT will "toggle" the mark under the
  1220.           cursor -- if it was there it will go away, if it wasn't there one
  1221.           will be put in.  Adjust them until they are OK, then once you
  1222.           have selected the data you want, you can issue the Pst-F1
  1223.           command.  The selected data will be copied into the Paste Area
  1224.           based on the indicated column divisions.
  1225.  
  1226.           To restore all column markers to their original positions, move
  1227.           the cursor to the first (leftmost) column marker and press DO-IT.
  1228.  
  1229.           Information in the input file is used to determine where the
  1230.           column markers are initially placed.  If the file contains data
  1231.           in the Flat (standard ASCII) or FXL (Fixed Length Record) format,
  1232.           MacroPIK'r makes its best "guess" as to where the markers should
  1233.           be placed based upon the distribution of the letters and numbers
  1234.           in the file.  If the file contains data in one of the
  1235.           "structured" formats (WKS, CSV, DIF, SYLK, DBF), the column width
  1236.           information encoded in the file itself tells MacroPIK'r where to
  1237.           place the markers.
  1238.  
  1239.           Column Widths in the Paste Area
  1240.  
  1241.           MacroPIK'r allows you to control the width of each column in the
  1242.           Paste Area.  Each column's width is automatically set only when
  1243.           it is empty and new data is placed in it.  For example, when new
  1244.           data from the Report Area is copied to the Paste Area using the
  1245.  
  1246.  
  1247.  
  1248.                                                                     Page 19
  1249.  
  1250.           Chapter 5                                  MacroPIK'r User Manual
  1251.                                                                    Commands
  1252.  
  1253.  
  1254.  
  1255.           Paste command and no data previously occupied a column, that
  1256.           column's width is set to the width of the column being copied.
  1257.  
  1258.           Column widths may also be set to a particular value, incremented
  1259.           or decremented by one, or set to the widest cell in that column,
  1260.           either individually or as a group.  To set the width of a single
  1261.           column, deselect any region that may be picked by pressing
  1262.           whichever function key is "lit": Col-F2, Row-F4, Cel-F6 or All-
  1263.           F8.  Next, move the cursor to the "column heading" just above the
  1264.           column whose width you want to change.  For example, to set the
  1265.           width for column F, move to the area just above the column
  1266.           containing the letter "F".  (Note that the cursor may also be
  1267.           moved to either of the two lines above the column heading for
  1268.           ease of use with a mouse.)  Press DO-IT (the return key or the
  1269.           left mouse button) and MacroPIK'r responds by asking "Set width
  1270.           of column F to (N/<-/->): ".  To set the width to, say, 12
  1271.           characters, enter 12 followed by return.
  1272.  
  1273.           To increment or decrement a column's width, enter the number of
  1274.           characters you want the column incremented or decremented by,
  1275.           followed by the right-arrow or left-arrow key on the keypad, then
  1276.           finish by pressing return.  You may also increment or decrement a
  1277.           column's width one character at a time by pressing the right-
  1278.           arrow or left-arrow key until the column reaches the desired
  1279.           width, then finish by pressing return.
  1280.  
  1281.           To set the width of a column to the widest cell in the column,
  1282.           enter a 0 then return.
  1283.  
  1284.           To set the widths of a group of columns, pick a region with the
  1285.           Column, Row, Cell or All command, then proceed as described
  1286.           above.  All columns in the picked region will be set to a
  1287.           particular width, incremented, decremented or set to the widest
  1288.           cell in each column.
  1289.  
  1290.  
  1291.                             * * * * * * * * * * * * * * *
  1292.  
  1293.  
  1294.           Commands
  1295.  
  1296.  
  1297.           The following section describes each command in detail.  To issue
  1298.           one of these commands, press (or click the mouse on the picture
  1299.           of) the indicated function key.  As you go into a sub-menu, the
  1300.           picture of the function keys on the screen changes to show you
  1301.  
  1302.  
  1303.  
  1304.  
  1305.                                                                     Page 20
  1306.  
  1307.           Chapter 5                                  MacroPIK'r User Manual
  1308.                                                                    Commands
  1309.  
  1310.  
  1311.  
  1312.           the new menu as well as the menu you came from.  Use Esc to leave
  1313.           a sub-menu.
  1314.  
  1315.  
  1316.           Xit-F9  Exit MacroPIK'r
  1317.  
  1318.  
  1319.             When   Use the Exit command when you're finished using
  1320.                    MacroPIK'r and have saved any Paste Area data you wish
  1321.                    to convert with one of the Output commands.
  1322.  
  1323.             What   The MacroPIK'r program terminates execution, clears the
  1324.                    screen and returns you to DOS.  MacroPIK'r may display a
  1325.                    screen of registration reminder information -- press any
  1326.                    key to continue.  If you haven't already done so, please
  1327.                    register your copy of MacroPIK'r; if you have, sorry for
  1328.                    the interruption.
  1329.  
  1330.             How    Press Xit-F9 from either the Report Area or Paste Area
  1331.                    Menu.  MacroPIK'r will ask you if you are sure -- type a
  1332.                    Y or press the right button on the mouse if you are, or
  1333.                    anything else to cancel the command.
  1334.  
  1335.             Notes  The Exit command does not automatically save any data
  1336.                    for you.  You must first do this yourself with one of
  1337.                    the Output commands.
  1338.  
  1339.  
  1340.           Hlp-F10  Help
  1341.  
  1342.  
  1343.             When   Use the Help command when you need help using
  1344.                    MacroPIK'r.
  1345.  
  1346.             What   The Help command temporarily clears the text window on
  1347.                    the screen and displays some information related to what
  1348.                    you are currently doing.  At the bottom of each Help
  1349.                    Page is a list of related Help Pages that can be
  1350.                    displayed by pressing one of the function keys.
  1351.  
  1352.                    Some of the Help Pages contain more information than
  1353.                    will fit on the screen at one time.  To display the
  1354.                    areas you can't see, press PgUp or PgDn.
  1355.  
  1356.             How    Press Hlp-F10 from any menu in MacroPIK'r.  To return to
  1357.                    where you left off, press Esc.
  1358.  
  1359.  
  1360.  
  1361.  
  1362.                                                                     Page 21
  1363.  
  1364.           Chapter 5                                  MacroPIK'r User Manual
  1365.                                                                    Commands
  1366.  
  1367.  
  1368.  
  1369.             Notes  From each Help Page, pressing function key Bgn-F1 will
  1370.                    always display the first Help Page.  Function key Prv-
  1371.                    F10 will display the previous Help Page.
  1372.  
  1373.                    The help information is stored in the file "mpik'r.hlp".
  1374.                    MacroPIK'r attempts to locate this file first in the
  1375.                    same directory that MacroPIK'r (mpik'r.exe) started
  1376.                    from, then in the current directory, then in any
  1377.                    directory in your PATH.
  1378.  
  1379.  
  1380.                             * * * * * * * * * * * * * * *
  1381.  
  1382.  
  1383.           Pick Commands
  1384.  
  1385.  
  1386.           Col-F2  Pick a Column
  1387.  
  1388.             When   Many of MacroPIK'r's commands need a picked region of
  1389.                    data first.  Use the Column command when you want to
  1390.                    pick columns of data.
  1391.  
  1392.             What   In the Report Area, MacroPIK'r selects the column that
  1393.                    lies between the nearest Column Markers to the left and
  1394.                    right of the cursor, and highlights it (see the
  1395.                    description of the Column Markers Line).  The height of
  1396.                    the column is the full height of the current page.  (The
  1397.                    height of the current page is determined by the input
  1398.                    file's page length as described under Input Commands.)
  1399.  
  1400.                    In the Paste Area, MacroPIK'r selects the column under
  1401.                    the cursor and highlights it.
  1402.  
  1403.             How    Press Col-F2 from any menu, move the cursor to the
  1404.                    desired column, and press DO-IT.  The column is
  1405.                    highlighted to show that it's been picked.  To "unpick"
  1406.                    the column, press Col-F2 again.  To adjust (stretch) the
  1407.                    picked region, hold down the Shift key and move the
  1408.                    cursor to the boundary of the picked region (or hold
  1409.                    down the left mouse button and move the mouse).  The
  1410.                    boundary will move with the cursor until Shift (or the
  1411.                    mouse button) is released.
  1412.  
  1413.             Notes  MacroPIK'r divides the input file into pages whose
  1414.                    length is specified in the Input command used to display
  1415.  
  1416.  
  1417.  
  1418.  
  1419.                                                                     Page 22
  1420.  
  1421.           Chapter 5                                  MacroPIK'r User Manual
  1422.                                                                    Commands
  1423.  
  1424.  
  1425.  
  1426.                    the file.  See the individual Input commands, Flt, WKS,
  1427.                    DIF, CSV, SYLK, FXL, and DBF.
  1428.  
  1429.           Row-F4  Pick a Row
  1430.  
  1431.             When   Many of MacroPIK'r's commands need a picked region of
  1432.                    data first.  Use the Row command when you want to pick
  1433.                    rows of data.
  1434.  
  1435.             What   The picked row is highlighted to show that it's been
  1436.                    picked.
  1437.  
  1438.             How    Press Row-F4 from any menu, move the cursor to the
  1439.                    desired row, and press DO-IT.  To "unpick" the row,
  1440.                    press Row-F4 again.  To adjust (stretch) the picked
  1441.                    region, hold down the Shift key and move the cursor to
  1442.                    the boundary of the picked region (or hold down the left
  1443.                    mouse button and move the mouse).  The boundary will
  1444.                    move with the cursor until Shift (or the mouse button)
  1445.                    is released.
  1446.  
  1447.           Cel-F6  Pick a Cell
  1448.  
  1449.             When   Many of MacroPIK'r's commands need a picked region of
  1450.                    data first.  Use the Cell command when you want to pick
  1451.                    cells of data.
  1452.  
  1453.             What   In the Report Area, MacroPIK'r selects the cell that
  1454.                    lies between the two closest Column Markers on either
  1455.                    side of the cursor and highlights it.
  1456.  
  1457.                    In the Paste Area, MacroPIK'r selects the cell under the
  1458.                    cursor and highlights it.
  1459.  
  1460.             How    Press Cel-F6 from any menu, move the cursor to the
  1461.                    desired cell, and press DO-IT.  To "unpick" the cell,
  1462.                    press Cel-F6 again.  To adjust (stretch) the picked
  1463.                    region, hold down the Shift key and move the cursor to
  1464.                    the boundary of the picked region (or hold down the left
  1465.                    mouse button and move the mouse).  The boundary will
  1466.                    move with the cursor until Shift (or the mouse button)
  1467.                    is released.
  1468.  
  1469.           All-F8  Pick Entire Area
  1470.  
  1471.             When   Many of MacroPIK'r's commands need a picked region of
  1472.                    data first.  Use the All command when you want to pick
  1473.  
  1474.  
  1475.  
  1476.                                                                     Page 23
  1477.  
  1478.           Chapter 5                                  MacroPIK'r User Manual
  1479.                                                                    Commands
  1480.  
  1481.  
  1482.  
  1483.                    the entire page in the Report Area, or all rows and
  1484.                    columns in the Paste Area.
  1485.  
  1486.             What   The entire page in the Report Area, or all Paste Area
  1487.                    rows and columns are highlighted as soon as All-F8 is
  1488.                    pressed.
  1489.  
  1490.             How    Press All-F8 from any menu.  To cancel the picked
  1491.                    region, press All-F8 again.  To adjust (stretch) the
  1492.                    picked region, hold down the Shift key and move the
  1493.                    cursor to the boundary of the picked region (or hold
  1494.                    down the left mouse button and move the mouse).  The
  1495.                    boundary will move with the cursor until Shift (or the
  1496.                    mouse button) is released.
  1497.  
  1498.             Notes  MacroPIK'r divides the input file into pages whose
  1499.                    length is specified in the Input command used to display
  1500.                    the file.  See the individual Input commands, Flt, WKS,
  1501.                    DIF, CSV, SYLK, FXL, and DBF.
  1502.  
  1503.  
  1504.                             * * * * * * * * * * * * * * *
  1505.  
  1506.  
  1507.           Menu Commands
  1508.  
  1509.  
  1510.           In-F3  The Input Sub-Menu
  1511.  
  1512.             When   Use the Input command when you want to display or browse
  1513.                    another (or the first) file, or if you wish to see a
  1514.                    directory listing.
  1515.  
  1516.             What   The Input command displays the Input Sub-Menu.
  1517.  
  1518.             How    Press In-F3 from the Report Area Menu.  To return to the
  1519.                    Report Area Menu, press Esc.
  1520.  
  1521.             Notes  See the individual Input commands Flat, WKS, DIF, CSV,
  1522.                    SYLK, DBF, and FXL for information on displaying a file
  1523.                    or directory listing (page 27).
  1524.  
  1525.           Pst-F1  Go To the Paste Area
  1526.  
  1527.             When   Use the Paste command when you are in the Report Area
  1528.                    and want to switch over to the Paste Area.  If there is
  1529.                    a picked region of data in the Report Area when the
  1530.  
  1531.  
  1532.  
  1533.                                                                     Page 24
  1534.  
  1535.           Chapter 5                                  MacroPIK'r User Manual
  1536.                                                                    Commands
  1537.  
  1538.  
  1539.  
  1540.                    Paste command is used, it will be copied to the Paste
  1541.                    Area.
  1542.  
  1543.             What   MacroPIK'r takes you to its other main work space, the
  1544.                    Paste Area: the input file is erased from the screen and
  1545.                    the accumulated rows and columns of data that you have
  1546.                    selected from the Report Area are displayed.
  1547.  
  1548.                    If there is a picked region of data in the Report Area
  1549.                    when the Paste command is used (see the Column, Row,
  1550.                    Cell, and All commands), MacroPIK'r will ask which
  1551.                    "direction" to copy the data: down or to the right.  If
  1552.                    you select "down" (with the Down-Arrow key) the data is
  1553.                    copied below any data that was already in the Paste
  1554.                    Area.  If you select "right" (with the Right-Arrow key)
  1555.                    the data is copied to the right.  As it is being copied,
  1556.                    MacroPIK'r will split the data into Paste Area columns
  1557.                    at each of the Column Markers in the Report Area (see
  1558.                    the Column Markers command above).
  1559.  
  1560.             How    From the Report Area Menu, press Pst-F1.  To return to
  1561.                    the Report Area after using the Paste command, press
  1562.                    Rpt-F1.
  1563.  
  1564.           Rpt-F1  Go To the Report Area
  1565.  
  1566.             When   Use the Report command when you are in the Paste Area
  1567.                    and wish to go to the Report Area.
  1568.  
  1569.             What   The Report Area is displayed.  If you had been looking
  1570.                    at a file previously in the Report Area, it is displayed
  1571.                    just the way you left it.
  1572.  
  1573.             How    From the Paste Area Menu, press Rpt-F1.  To return to
  1574.                    the Paste Area after using the Report command, press
  1575.                    Pst-F1.
  1576.  
  1577.           Out-F3  The Output Sub-Menu
  1578.  
  1579.             When   Use the Output command when you want to save some or all
  1580.                    of the data in the Paste Area for a spreadsheet,
  1581.                    database or word processor program.
  1582.  
  1583.             What   The Output command displays the Output Sub-Menu, from
  1584.                    which you can select one of several formats for saving
  1585.                    the picked region of data in the Paste Area.
  1586.  
  1587.  
  1588.  
  1589.  
  1590.                                                                     Page 25
  1591.  
  1592.           Chapter 5                                  MacroPIK'r User Manual
  1593.                                                                    Commands
  1594.  
  1595.  
  1596.  
  1597.             How    From the Paste Area Menu, press Out-F3.  To return to
  1598.                    the Paste Area Menu, press Esc.
  1599.  
  1600.             Notes  See the individual Output commands Flat, WKS, DIF, CSV,
  1601.                    SYLK, DBF, or FXL for information on saving all or part
  1602.                    of the Paste Area (page 31).
  1603.  
  1604.           Fix-F5  The Fix Sub-Menu
  1605.  
  1606.             When   Use the Fix command when you need access to one of the
  1607.                    following commands: Merge, Divide, Edit, Number, and
  1608.                    Text.
  1609.  
  1610.             What   The Fix command displays the Fix Sub-Menu.
  1611.  
  1612.             How    From the Paste Area Menu, press Fix-F5.  To return to
  1613.                    the Paste Area Menu, press Esc.
  1614.  
  1615.             Notes  See the individual Fix commands Merge, Divide, Edit,
  1616.                    Number, and Text (pages 34 - 38).
  1617.  
  1618.           Cut-F7  The Cut Sub-Menu
  1619.  
  1620.             When   Use the Cut command when you need access to one of the
  1621.                    following commands: Move, Copy, Transpose, Insert, and
  1622.                    Delete.
  1623.  
  1624.             What   The Cut command displays the Cut Sub-Menu.
  1625.  
  1626.             How    From the Paste Area Menu, press Cut-F7.  To return to
  1627.                    the Paste Area Menu, press Esc.
  1628.  
  1629.             Notes  See the individual Cut commands Move, Copy, Transpose,
  1630.                    Insert, and Delete (pages 39 - 41).
  1631.  
  1632.  
  1633.                             * * * * * * * * * * * * * * *
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.                                                                     Page 26
  1648.  
  1649.           Chapter 5                                  MacroPIK'r User Manual
  1650.                                                                    Commands
  1651.  
  1652.  
  1653.  
  1654.           File Commands
  1655.  
  1656.  
  1657.           Input Commands
  1658.  
  1659.           Flt-F1  Flat (input)
  1660.  
  1661.           Wks-F3  WKS (input)
  1662.  
  1663.           Dif-F5  DIF (input)
  1664.  
  1665.           Csv-F7  CSV (input)
  1666.  
  1667.           Slk-F9  SYLK (input)
  1668.  
  1669.           Fxl-F2  FXL (input)
  1670.  
  1671.           Dbf-F4  DBF (input)
  1672.  
  1673.             When   Use one of the Input commands Flat, WKS, DIF, CSV, SYLK,
  1674.                    DBF or FXL when you want to display another (or the
  1675.                    first) file into the Report Area, or if you want to see
  1676.                    a directory listing of the files on a disk.
  1677.  
  1678.             What   The Input commands display another (or the first) file,
  1679.                    or a directory listing of files on a disk.
  1680.  
  1681.             How    All six Input commands except CSV and FXL are used the
  1682.                    same way.  Press In-F3 from the Report Area Menu to
  1683.                    display the Input Sub-Menu, then press the key
  1684.                    corresponding to the format of the file you want to
  1685.                    display:
  1686.  
  1687.                    Flt-F1       Word processors, mainframe reports, most
  1688.                                 any printable report file.
  1689.                    Wks-F3       Lotus (1-2-3, others)
  1690.                    Dif-F5       Data Interchange Format -- Many older
  1691.                                 programs (e.g.: Visicalc)
  1692.                    Csv-F7       BASIC, many others
  1693.                    Slk-F9       Multiplan, Excel
  1694.                    Fxl-F2       Fixed-Length Format
  1695.                    Dbf-F4       dBASE files
  1696.  
  1697.                    MacroPIK'r will respond by asking for the name of a file
  1698.                    to display.  Type the file name followed by Enter.  If
  1699.                    the file does not exist, MacroPIK'r will display an
  1700.                    error message.
  1701.  
  1702.  
  1703.  
  1704.                                                                     Page 27
  1705.  
  1706.           Chapter 5                                  MacroPIK'r User Manual
  1707.                                                                    Commands
  1708.  
  1709.  
  1710.  
  1711.                    Wildcard File Names:
  1712.  
  1713.                    If you're not sure what your input file is named, or if
  1714.                    you want to see what files are on a disk, display the
  1715.                    Input Sub-Menu as described above and press one of the
  1716.                    input commands (Flt-F1, Wks-F3, Dif-F5, Csv-F7, Slk-F9,
  1717.                    Fxl-F2, or Dbf-F4).  Then, instead of typing a file
  1718.                    name, type a DOS file "specification", just as you would
  1719.                    for the DOS "dir" command.  For example, to see a
  1720.                    directory of all files on disk A having an extension of
  1721.                    ".dat", type "a:*.dat".
  1722.  
  1723.                    To select a file to display from the directory, move the
  1724.                    cursor to the file name and press DO-IT.  (Remember, the
  1725.                    file must be in the proper format for the input command
  1726.                    you used to display the directory.  For example, use the
  1727.                    WKS (input) command to display a WKS format file.) To
  1728.                    erase the directory and return to where you left off
  1729.                    instead of displaying a new file, press Esc.
  1730.  
  1731.                    Next, MacroPIK'r asks you to enter the page length to
  1732.                    use for the input file.  If you enter a negative number,
  1733.                    each page will be 66 lines long (the number of lines on
  1734.                    a "standard" printed page -- with this option, Flat
  1735.                    format files will have a page break every 66 lines, or
  1736.                    at every formfeed character, whichever comes first).  If
  1737.                    you enter a number from 1 to 32,767, each page will
  1738.                    contain that many lines.  If you enter 0, the page
  1739.                    length is set to the length of the entire file.  The
  1740.                    default page length for all file types is 0 (no paging)
  1741.                    except for flat files, where it is 66.
  1742.  
  1743.                    For the CSV command only, MacroPIK'r will next ask for
  1744.                    the field delimiter to look for.  To select the default
  1745.                    delimiter (a comma) press DO-IT.  To specify a different
  1746.                    character, type the character followed by DO-IT.
  1747.  
  1748.                    For the FXL command only, MacroPIK'r will next ask for
  1749.                    the length of each record in the file.  Enter the length
  1750.                    followed by DO-IT.
  1751.  
  1752.                    If you don't know the record length, you can experiment.
  1753.                    Start with a guess and look at the screen.  If the
  1754.                    information looks like diagonal stripes going up to the
  1755.                    right (///) try a slightly smaller number.  If you see
  1756.                    diagonal stripes going down to the left (\\\) try a
  1757.                    slightly larger number.
  1758.  
  1759.  
  1760.  
  1761.                                                                     Page 28
  1762.  
  1763.           Chapter 5                                  MacroPIK'r User Manual
  1764.                                                                    Commands
  1765.  
  1766.  
  1767.  
  1768.                    To return to the Report Area Menu from the Input Sub-
  1769.                    Menu, press Esc.
  1770.  
  1771.             Notes  Many of MacroPIK'r's commands operate on the current
  1772.                    page.  These include the Column and All commands which
  1773.                    pick a column of data and all the data on the current
  1774.                    page, and the Home and End commands that move the cursor
  1775.                    to the upper left and lower right of the current page.
  1776.                    The number you enter for the page length determines how
  1777.                    many lines constitute a page.
  1778.  
  1779.                    When you do an input command, the new file will replace
  1780.                    the previous file in the Report Area.  You can view as
  1781.                    many files in succession as you like.
  1782.  
  1783.           Fnd-F5  Search for a String in the Input File
  1784.  
  1785.             When   Use the Find command when you want to locate a "string"
  1786.                    of characters (for example, someone's name) in the file.
  1787.  
  1788.             What   The Find command attempts to find a string in the file
  1789.                    by searching either forward or backward from your
  1790.                    current position in the file.  If the cursor is inside
  1791.                    the text area on the screen, the search begins from the
  1792.                    location of the cursor. Otherwise, the search begins
  1793.                    from the upper left corner of the text area. If the
  1794.                    search string is found, the cursor is moved to the
  1795.                    beginning of it; otherwise the cursor is returned to its
  1796.                    original position.
  1797.  
  1798.                    The Find command is "case insensitive", which means that
  1799.                    if you search for "price index", the command will match
  1800.                    the strings "PRICE INDEX" as well as "Price Index", etc.
  1801.                    in the file.
  1802.  
  1803.             How    Press Fnd-F5 from the Report Area Menu.  MacroPIK'r will
  1804.                    ask you for a string by displaying "Find: " at the top
  1805.                    of the screen.  Use the following keys to complete the
  1806.                    command:
  1807.  
  1808.                    S Left-Arrow         Search backward for string "S"
  1809.                    Left-Arrow           Search backward for PREVIOUS string
  1810.                    S Right-Arrow        Search forward for string "S"
  1811.                    Right-Arrow          Search forward for PREVIOUS string
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.                                                                     Page 29
  1819.  
  1820.           Chapter 5                                  MacroPIK'r User Manual
  1821.                                                                    Commands
  1822.  
  1823.  
  1824.  
  1825.                    If you terminate the search string by pressing Enter,
  1826.                    MacroPIK'r will ask for the search direction.  Answer
  1827.                    with one of the arrow keys.
  1828.  
  1829.             Notes  The Find command will search all the way to the begin-
  1830.                    ning or end of the file, which may take a long time if
  1831.                    the file is large.  You can interrupt a long search by
  1832.                    pressing Esc.
  1833.  
  1834.           Pag-F7  Goto Another Page
  1835.  
  1836.             When   Use the Page command to display another page in the
  1837.                    file.
  1838.  
  1839.             What   The Page command displays the requested page from the
  1840.                    file, if possible.  Thus, asking for page 80 in a 3-page
  1841.                    file will display the last page of the file instead,
  1842.                    along with a message that MacroPIK'r can't get page 80.
  1843.  
  1844.             How    Press Pag-F7 from the Report Area Menu.  MacroPIK'r will
  1845.                    ask you for a page number by displaying "Page: " at the
  1846.                    top of the screen.  Use the following keys to complete
  1847.                    the command:
  1848.  
  1849.                    N Enter         Display page N
  1850.                    N Left-Arrow    Display Nth page before current one
  1851.                    Left-Arrow      Display previous page
  1852.                    N Right-Arrow   Display Nth page after current one
  1853.                    Right-Arrow     Display next page
  1854.                    Enter           Do nothing -- keep the current page
  1855.  
  1856.             Notes  MacroPIK'r divides a file into pages whose length is
  1857.                    specified by one of the Input commands (see the
  1858.                    discussion above on the Input commands).
  1859.  
  1860.  
  1861.                             * * * * * * * * * * * * * * *
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.                                                                     Page 30
  1876.  
  1877.           Chapter 5                                  MacroPIK'r User Manual
  1878.                                                                    Commands
  1879.  
  1880.  
  1881.  
  1882.           Output Commands
  1883.  
  1884.           Flt-F1  Flat (output)
  1885.  
  1886.           Wks-F3  WKS (output)
  1887.  
  1888.           Dif-F5  DIF (output)
  1889.  
  1890.           Csv-F7  CSV (output)
  1891.  
  1892.           Slk-F9  SYLK (output)
  1893.  
  1894.           Fxl-F2  FXL (output)
  1895.  
  1896.           Dbf-F4  DBF (output)
  1897.  
  1898.             When   Use one of the Output commands Flat, WKS, DIF, CSV,
  1899.                    SYLK, FXL, or DBF when you are ready to save some or all
  1900.                    of the data in the Paste Area to a file to be loaded
  1901.                    into your spreadsheet, database or word processor
  1902.                    program.
  1903.  
  1904.             What   MacroPIK'r saves each cell in the picked region as
  1905.                    either a number or a label (text).  Any cell with quotes
  1906.                    around it is saved as a label, regardless of its
  1907.                    content, while any cell without quotes around it is
  1908.                    saved as a number if it "looks like" a number, otherwise
  1909.                    it is output as a label.  A cell "looks like" a number
  1910.                    if it contains only digits and possibly a decimal point
  1911.                    or minus sign (numbers in "scientific notation" are OK
  1912.                    too).  That is, any number with dollar signs ($), commas
  1913.                    (,) and other punctuation will be output as a label --
  1914.                    only "clean" numbers will be output as numbers unless
  1915.                    the Number command is explicitly used first.
  1916.  
  1917.                    For the WKS command only, these rules are relaxed
  1918.                    somewhat to allow leading dollar signs, embedded commas
  1919.                    and trailing percent signs in a number using the U.S.
  1920.                    numeric format convention.  (See the Number command for
  1921.                    an explanation of numeric format conventions.)
  1922.  
  1923.                    MacroPIK'r supports all Lotus Worksheet numeric display
  1924.                    formats (for all versions of 1-2-3 and Symphony) except
  1925.                    HIDDEN and TEXT when displaying worksheet files in the
  1926.                    Report Area.  (The HIDDEN format is for hiding cells in
  1927.                    the worksheet so that they don't appear in the display -
  1928.                    these cells will appear in MacroPIK'r.  The TEXT format
  1929.  
  1930.  
  1931.  
  1932.                                                                     Page 31
  1933.  
  1934.           Chapter 5                                  MacroPIK'r User Manual
  1935.                                                                    Commands
  1936.  
  1937.  
  1938.  
  1939.                    displays formulas as they were entered, instead of as
  1940.                    their value - MacroPIK'r always displays the formula's
  1941.                    value.)
  1942.  
  1943.                    MacroPIK'r does not support the conversion of formatted
  1944.                    (human readable) dates and times to their serial and
  1945.                    fractional numeric worksheet representations with the
  1946.                    WKS (output) command.  Instead, dates and times are
  1947.                    saved as labels in the worksheet file which can then be
  1948.                    converted to their numeric equivalents if need be with
  1949.                    1-2-3 Release 2 or greater, or Symphony -- if you are
  1950.                    using Symphony, the Query Parse command will perform
  1951.                    this conversion.  In 1-2-3, use the /Data Parse command.
  1952.  
  1953.                    If there is not enough room available on the disk, only
  1954.                    as much data as will fit on the disk is saved, and
  1955.                    MacroPIK'r displays an error message.
  1956.  
  1957.             How    All six Output commands are used the same way.  Pick a
  1958.                    region of data in the Paste Area to be saved with the
  1959.                    Column, Row, Cell, or All command, and press Out-F3 from
  1960.                    the Paste Area Menu to display the Output Sub-Menu.
  1961.                    Then press the key corresponding to the format suited to
  1962.                    your spreadsheet, database or word processor program:
  1963.  
  1964.                    Flt-F1       Word processors
  1965.                    Wks-F3       1-2-3 & Symphony
  1966.                    Dif-F5       Visicalc & others
  1967.                    Csv-F7       dBASE, BASIC
  1968.                    Slk-F9       Multiplan, Excel
  1969.                    Fxl-F2       Fixed-Length Records
  1970.  
  1971.                    MacroPIK'r will respond by asking for the name of a file
  1972.                    for saving the data.  Type the file name followed by
  1973.                    Enter.
  1974.  
  1975.                    If a file of the same name as the one you specify
  1976.                    already exists, MacroPIK'r will display a message asking
  1977.                    if you want the existing file to be replaced by the new
  1978.                    one.  By typing a Y in response, the old file is erased
  1979.                    and the new one (with your Paste Area data) is created.
  1980.                    Typing anything else cancels the command and MacroPIK'r
  1981.                    asks for another file name.
  1982.  
  1983.                    For the CSV command only, MacroPIK'r will ask for the
  1984.                    field delimiter to use.  To select the default delimiter
  1985.  
  1986.  
  1987.  
  1988.  
  1989.                                                                     Page 32
  1990.  
  1991.           Chapter 5                                  MacroPIK'r User Manual
  1992.                                                                    Commands
  1993.  
  1994.  
  1995.  
  1996.                    (a comma) press DO-IT.  To specify a different
  1997.                    character, type the character followed by DO-IT.
  1998.  
  1999.                    For the FXL command only, MacroPIK'r will ask for the
  2000.                    length of each record in the fixed-length record file
  2001.                    you are creating.  To accept the default length of the
  2002.                    sum of the widths of the columns in the picked region,
  2003.                    press DO-IT.  Otherwise, enter the length to use
  2004.                    followed by DO-IT.  Note: If this number is less than
  2005.                    the default, records will be truncated (from the right)
  2006.                    to the length you specify.  If this number is greater
  2007.                    than the default, records will be blank-padded to the
  2008.                    length you specify.
  2009.  
  2010.                    For the DBF command, if you specified an EXISTING file
  2011.                    MacroPIK'r will ask whether you want to APPEND to it,
  2012.                    preserving its structure, or REPLACE all of its records,
  2013.                    but preserving its structure, or CREATE a new file,
  2014.                    structure and all.
  2015.  
  2016.                    When you are creating a new DBF file, the width of each
  2017.                    column in the picked region determines the size of the
  2018.                    corresponding field in the DBF file.  (See also "Setting
  2019.                    Column Widths in the Paste Area", page 19).  MacroPIK'r
  2020.                    determines the data types of the fields (character,
  2021.                    numeric, logical or date) by looking at the data in the
  2022.                    first row of the picked region: If a cell contains the
  2023.                    single letter Y, y, N, n, T, t, F or f, the field's type
  2024.                    is logical.  If a cell contains a date in the form
  2025.                    MM/DD/YY (for example, 10/22/86), the field's type is
  2026.                    date.  If a cell contains a "clean" number the field's
  2027.                    type is numeric.  Otherwise, the field's type is
  2028.                    character.  In any case, a field may be forced to the
  2029.                    character type by surrounding a cell's contents with
  2030.                    quotes.
  2031.  
  2032.                    When new data is either appended or replaces data in a
  2033.                    DBF file (without altering the structure of the existing
  2034.                    file) the new data is made to "conform" to that
  2035.                    structure by padding each cell on the right if necessary
  2036.                    with blanks, or truncating the data to fit into the
  2037.                    structure.  An error message is displayed if MacroPIK'r
  2038.                    had to truncate any data, but the command is completed
  2039.                    in case this was the intended effect.
  2040.  
  2041.                    To return to the Paste Area Menu from the Output Sub-
  2042.                    Menu, press Esc.
  2043.  
  2044.  
  2045.  
  2046.                                                                     Page 33
  2047.  
  2048.           Chapter 5                                  MacroPIK'r User Manual
  2049.                                                                    Commands
  2050.  
  2051.  
  2052.  
  2053.             Notes  MacroPIK'r allows you to name your files however you
  2054.                    like, but many spreadsheet and database programs require
  2055.                    that file names have certain extensions.  For example,
  2056.                    1-2-3 (v1A) requires the extension .WKS, 1-2-3 (Release
  2057.                    2) requires .WK1, Symphony (v1.0) requires .WRK and
  2058.                    Symphony (v1.1) requires .WR1.  Check the instructions
  2059.                    for the program you are using to see if it has any such
  2060.                    restrictions on file names.
  2061.  
  2062.                    See also the Number and Text commands which explain how
  2063.                    to control numeric and text (label) conversions.
  2064.  
  2065.  
  2066.                             * * * * * * * * * * * * * * *
  2067.  
  2068.  
  2069.           Fix Commands
  2070.  
  2071.  
  2072.           Mrg-F1  Merge Two or More Columns
  2073.  
  2074.             When   Use the Merge command when you want to merge two or more
  2075.                    Paste Area columns of data into one column.
  2076.  
  2077.             What   The merge command merges two or more columns into a
  2078.                    single column.  Columns to the right of the merged
  2079.                    columns are shifted appropriately.  For example, if
  2080.                    there are four columns of data, A, B, C and D, and
  2081.                    columns A, B and C are merged, there will be two columns
  2082.                    after the merge: columns A, B and C merge into A, and
  2083.                    column D is shifted to B.
  2084.  
  2085.             How    Select the columns of data to be merged with the Column
  2086.                    command.  The columns to be merged must be adjacent --
  2087.                    if they're not, you can use the Move command to
  2088.                    rearrange them.  From the Paste Area Menu, press Fix-F5
  2089.                    to display the Fix Sub-Menu, pick the columns to be
  2090.                    merged, then press Mrg-F1.  MacroPIK'r will ask you if
  2091.                    you are sure -- type a Y or press the right button on
  2092.                    the mouse if you are, or anything else to cancel the
  2093.                    command.
  2094.  
  2095.             Notes  MacroPIK'r limits the width of each column in the Paste
  2096.                    Area to 2000.  If the sum of the widths of the columns
  2097.                    to be merged exceeds this amount, MacroPIK'r displays an
  2098.                    error message and cancels the command.
  2099.  
  2100.  
  2101.  
  2102.  
  2103.                                                                     Page 34
  2104.  
  2105.           Chapter 5                                  MacroPIK'r User Manual
  2106.                                                                    Commands
  2107.  
  2108.  
  2109.  
  2110.                    See also the Divide command below:
  2111.  
  2112.           Div-F3  Divide a Column
  2113.  
  2114.             When   Use the Divide command when you want to divide a Paste
  2115.                    Area column of data into two columns.
  2116.  
  2117.             What   The column is divided to the immediate left of the
  2118.                    cursor location when DO-IT was pressed.  For example, if
  2119.                    the cursor is on the "z" in "kazoo", the column is split
  2120.                    into "ka" and "zoo".  Columns to the right of the
  2121.                    divided columns are shifted appropriately.  For example,
  2122.                    if there are three columns of data, A, B, and C, and
  2123.                    column B is divided, there will be four columns after
  2124.                    the divide: column C is shifted to D, and column B is
  2125.                    divided into B and C.
  2126.  
  2127.             How    Select the column to be divided with the Column command.
  2128.                    From the Paste Area Menu, press Fix-F5 to display the
  2129.                    Fix Sub-Menu, pick the column to be divided using the
  2130.                    Column command, then press Div-F3.  Move the cursor to
  2131.                    the place in the column where you want it divided and
  2132.                    press DO-IT.
  2133.  
  2134.             Notes  See also the Merge command above.
  2135.  
  2136.           Edt-F5  Edit data
  2137.  
  2138.             When   Use the Edit command when you want to edit existing data
  2139.                    in the Paste Area, or if you want to enter new data from
  2140.                    the keyboard.
  2141.  
  2142.             What   The Edit command functions like a very simple text
  2143.                    editor: it allows you to "fudge" data in the Paste Area
  2144.                    or enter new rows or columns of data from the keyboard.
  2145.  
  2146.             How    From the Paste Area Menu, press Fix-F5 to display the
  2147.                    Fix Sub-Menu.  Pick a region of data using the Column,
  2148.                    Row, Cell, or All command, then press Edt-F5.
  2149.                    MacroPIK'r pauses for a moment while it makes a "backup"
  2150.                    of the data in the picked region (in case you later want
  2151.                    to "undo" your editing changes).
  2152.  
  2153.                    When the cursor is placed inside the picked region of
  2154.                    data, characters typed on the keyboard replace the
  2155.                    characters under the cursor.  If the cursor is outside
  2156.                    the picked region, or on the vertical "divider" line
  2157.  
  2158.  
  2159.  
  2160.                                                                     Page 35
  2161.  
  2162.           Chapter 5                                  MacroPIK'r User Manual
  2163.                                                                    Commands
  2164.  
  2165.  
  2166.  
  2167.                    between columns, characters typed on the keyboard have
  2168.                    no effect.  The mouse, arrow keys and other cursor
  2169.                    controls (except the + "More" key) can be used to
  2170.                    position the cursor.  In addition, DO-IT will move the
  2171.                    cursor to the "next" cell from left to right, top to
  2172.                    bottom in the picked region.
  2173.  
  2174.                    To stop editing and keep the changes you made, press
  2175.                    Edt-F5 again. To stop editing and restore the old
  2176.                    contents of the picked region, press Esc.  The following
  2177.                    table summarizes the keyboard characters and their
  2178.                    functions while editing:
  2179.  
  2180.                    Letters,        Overstrike character at cursor
  2181.                      Digits, and
  2182.                      Punctuation
  2183.                    Enter           Go to next cell
  2184.                    Backspace       Delete character left of cursor
  2185.                    Ins             Insert space at cursor
  2186.                    Del             Delete character at cursor
  2187.                    Edt-F5          Exit editing session
  2188.                    Esc             Undo editing session
  2189.  
  2190.             Notes  MacroPIK'r limits the width of each column in the Paste
  2191.                    Area to 2000.  If you attempt to increase the width of a
  2192.                    column with the Ins key past this amount, MacroPIK'r
  2193.                    will display an error message.
  2194.  
  2195.           Num-F7  Convert Data to Numbers
  2196.  
  2197.             When   Use the Number command when you want to convert part or
  2198.                    all of the Paste Area to numbers.  When you save your
  2199.                    data with one of the Output commands, MacroPIK'r does
  2200.                    its best to determine whether a cell is a number or a
  2201.                    label (see the Output commands).  To gain some control
  2202.                    over this process, you can explicitly convert the data
  2203.                    in a picked region to numbers using the Number command.
  2204.  
  2205.             What   The data in the picked region is converted to numbers.
  2206.                    These are the rules MacroPIK'r applies to each cell
  2207.                    during the conversion:
  2208.  
  2209.                    Dollar signs ($) and other non-numeric characters are
  2210.                    deleted from the beginning and end of the cell.  If
  2211.                    there are any decimal digits (0-9) left, the cell is
  2212.                    considered to be a number if it follows the numeric
  2213.  
  2214.  
  2215.  
  2216.  
  2217.                                                                     Page 36
  2218.  
  2219.           Chapter 5                                  MacroPIK'r User Manual
  2220.                                                                    Commands
  2221.  
  2222.  
  2223.  
  2224.                    format conventions you specify (see "How to use it"
  2225.                    below).
  2226.  
  2227.                    In addition, the number is negative if there is a
  2228.                    leading minus sign (-), or if the number is enclosed in
  2229.                    parentheses, or if the number has the letters "CR" (or
  2230.                    "cr") after it.  Numbers in scientific notation, for
  2231.                    example, "6.63E-34" or "3.00e+08", are also supported.
  2232.                    Warning: combinations of parentheses, minus signs, and
  2233.                    "CR" will produce a negative number if the sum of the
  2234.                    combinations is odd.  That is, (4.95) and 4.95 CR are
  2235.                    -4.95, (4.95 CR) is +4.95, while (-4.95 CR) equals
  2236.                    -4.95.
  2237.  
  2238.                    If the cell satisfies these rules, it is converted to a
  2239.                    "clean" number: leading dollar signs, embedded commas,
  2240.                    parentheses, "CR"'s, etc., are removed.  If a cell in
  2241.                    the picked region does not satisfy the rules for ANY of
  2242.                    the numeric format conventions, the Number command will
  2243.                    remove all characters from the cell (except decimal
  2244.                    digits and, possibly, a decimal point) in order to make
  2245.                    a more "vigorous" attempt at the conversion.
  2246.  
  2247.                    If there are no decimal digits in the cell at all, it's
  2248.                    converted to zero (0).  Note that blank cells become
  2249.                    zeros (0).
  2250.  
  2251.             How    From the Paste Area Menu, press Fix-F5 to display the
  2252.                    Fix Sub-Menu.  Pick a region of data using the Column,
  2253.                    Row, Cell, or All command, then press Num-F7.
  2254.  
  2255.                    If you respond to the Number command prompt "Convert the
  2256.                    picked cell(s) to numbers? (U/E/M/A)" by typing a "A",
  2257.                    MacroPIK'r will Automatically determine which format
  2258.                    convention the numbers use, and will use that convention
  2259.                    for the conversion.  With this option, MacroPIK'r will
  2260.                    ask which format convention to use if more than one type
  2261.                    is used in the picked region, or if any number could be
  2262.                    interpreted differently depending on which convention is
  2263.                    used.
  2264.  
  2265.                    To tell MacroPIK'r explicitly which convention to use,
  2266.                    you can type the letter "U" to use the U.S. convention
  2267.                    of using a comma (,) as the thousands separator and a
  2268.                    dot (.) for the decimal point, or type "E" to use the
  2269.                    European convention which reverses the role of these two
  2270.                    characters, or type "M" to use the Metric convention
  2271.  
  2272.  
  2273.  
  2274.                                                                     Page 37
  2275.  
  2276.           Chapter 5                                  MacroPIK'r User Manual
  2277.                                                                    Commands
  2278.  
  2279.  
  2280.  
  2281.                    which uses a space ( ) for the thousands separator on
  2282.                    both sides of the decimal point and a dot for the
  2283.                    decimal point:
  2284.  
  2285.                    A    Automatic (best guess)
  2286.                    U    U.S.      1,234.56
  2287.                    E    European  1,234,56
  2288.                    M    Metric    1 234.56
  2289.  
  2290.                    You can cancel the conversion by typing Esc to the
  2291.                    U/E/M/A prompt.
  2292.  
  2293.             Notes  The Number command is essentially irreversible, although
  2294.                    you could always go back to the Report Area and pick the
  2295.                    data again.  See also the Output commands Flat, WKS,
  2296.                    DIF, CSV, SYLK and FXL (page 31).
  2297.  
  2298.           Txt-F9  Convert Data to Text
  2299.  
  2300.             When   Use the Text command when you want to convert part or
  2301.                    all of the Paste Area to labels (text).
  2302.  
  2303.                    When you save your data with one of the Output commands,
  2304.                    MacroPIK'r does its best to determine whether a cell is
  2305.                    a number or a label (see the Output commands).  To gain
  2306.                    some control over this process, you can explicitly
  2307.                    convert the data in a picked region to labels using the
  2308.                    Text command.  This is handy for things like part
  2309.                    numbers.
  2310.  
  2311.             What   The data in the picked region is converted to labels
  2312.                    (text) by surrounding each cell with quote marks (").
  2313.                    This becomes significant when the Paste Area is saved
  2314.                    with one of the Output commands; any cell with quotes
  2315.                    around it is saved as a label (text), regardless of its
  2316.                    content, while any cell without quotes around it is
  2317.                    saved as a number if it looks like a number -- otherwise
  2318.                    it is saved as a label.  A cell "looks like" a number if
  2319.                    it contains digits with perhaps a minus sign and decimal
  2320.                    point.  That is, any number with dollar signs ($),
  2321.                    commas (,) or other punctuation will be output as a
  2322.                    label -- only "clean" numbers will be output as numbers.
  2323.                    (See the discussion of the Number command, page 36.)
  2324.  
  2325.             How    From the Paste Area Menu, press Fix-F5 to display the
  2326.                    Fix Sub-Menu.  Pick a region of data using the Column,
  2327.                    Row, Cell, or All command, then press Txt-F9.
  2328.  
  2329.  
  2330.  
  2331.                                                                     Page 38
  2332.  
  2333.           Chapter 5                                  MacroPIK'r User Manual
  2334.                                                                    Commands
  2335.  
  2336.  
  2337.  
  2338.                    MacroPIK'r will ask you if you are sure -- type a Y or
  2339.                    press the right button on the mouse if you are, or
  2340.                    anything else to cancel the command.
  2341.  
  2342.             Notes  The Text command is essentially irreversible, although
  2343.                    you can always go back to the Report Area and pick the
  2344.                    data again, or use the Edit command to manually remove
  2345.                    the quotes -- or the Number command.
  2346.  
  2347.  
  2348.                             * * * * * * * * * * * * * * *
  2349.  
  2350.  
  2351.           Cut Commands
  2352.  
  2353.  
  2354.           Mov-F1  Move Data
  2355.  
  2356.             When   Use the Move command when you want to move data in the
  2357.                    Paste Area (without leaving a copy of it behind).
  2358.  
  2359.             What   The Move command moves the data in the picked region to
  2360.                    another place in the Paste Area.
  2361.  
  2362.             How    From the Paste Area Menu, press Cut-F7 to display the
  2363.                    Cut Sub-Menu.  Pick a region of data using the Column,
  2364.                    Row, Cell, or All command, then press Mov-F1.  The
  2365.                    picked region of data changes to an inverse outline to
  2366.                    indicate where you are (tentatively) going to move to.
  2367.                    Move the cursor to the upper left corner of the place in
  2368.                    the Paste Area you wish to move the data to and press
  2369.                    DO-IT.  The inverse outline is moved to this place, but
  2370.                    no data is moved yet.  Continue to move the cursor and
  2371.                    press DO-IT until you are satisfied with where the data
  2372.                    will be moved, then press Mov-F1 again to complete the
  2373.                    move.  To "undo" the Move command once it has been
  2374.                    started (but before it has been completed) press Esc.
  2375.  
  2376.             Notes  The Move command allows you to partially, or even
  2377.                    completely, overlap the "source" and "destination" of
  2378.                    the move.  However, if you try to move data in such a
  2379.                    way that any part of it is beyond the maximum limits of
  2380.                    the Paste Area, MacroPIK'r will display a warning
  2381.                    message and give you a chance to move the data somewhere
  2382.                    else.
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.                                                                     Page 39
  2389.  
  2390.           Chapter 5                                  MacroPIK'r User Manual
  2391.                                                                    Commands
  2392.  
  2393.  
  2394.  
  2395.           Cpy-F3  Copy Data
  2396.  
  2397.             When   Use the Copy command when you want to make a copy of
  2398.                    data in the Paste Area.
  2399.  
  2400.             What   The Copy command copies the data in the picked region to
  2401.                    another place in the Paste Area.
  2402.  
  2403.             How    From the Paste Area Menu, press Cut-F7 to display the
  2404.                    Cut Sub-Menu.  Pick a region of data using the Column,
  2405.                    Row, Cell, or All command, then press Cpy-F3.  The
  2406.                    picked region of data changes to an inverse outline to
  2407.                    indicate where you are tentatively going to copy to.
  2408.                    Move the cursor to the upper left corner of the place in
  2409.                    the Paste Area you wish to copy the data to and press
  2410.                    DO-IT.  The inverse outline is moved to this place, but
  2411.                    no data is copied yet.  Continue to move the cursor and
  2412.                    press DO-IT until you are satisfied with where the data
  2413.                    will be copied, then press Cpy-F3 again to complete the
  2414.                    copy.
  2415.  
  2416.                    To "undo" the Copy command once it has been started (but
  2417.                    before it has been completed) press Esc.
  2418.  
  2419.             Notes  The Copy command allows you to partially, or even
  2420.                    completely, overlap the "source" and "destination" of
  2421.                    the copy.  However, if you try to copy data in such a
  2422.                    way that any part of it is beyond the maximum limits of
  2423.                    the Paste Area, MacroPIK'r will display a warning
  2424.                    message and then let you copy the data somewhere else.
  2425.  
  2426.           Trn-F5  Transpose Columns and Rows
  2427.  
  2428.             When   Use the Transpose command when you want to change Paste
  2429.                    Area columns to rows, or rows to columns.
  2430.  
  2431.             What   If a column is being transposed, it is "rotated"
  2432.                    counterclockwise, i.e., the topmost cell in the column
  2433.                    becomes the leftmost cell in the row.  If a row is being
  2434.                    transposed, it is "rotated" clockwise, i.e., the
  2435.                    leftmost cell in the row becomes the topmost cell in the
  2436.                    column.
  2437.  
  2438.             How    From the Paste Area Menu, press Cut-F7 to display the
  2439.                    Cut Sub-Menu.  Pick a region of data using the Column,
  2440.                    Row, Cell, or All command, then begin a Move or Copy
  2441.                    command by pressing either Mov-F1 or Cpy-F3.  The picked
  2442.  
  2443.  
  2444.  
  2445.                                                                     Page 40
  2446.  
  2447.           Chapter 5                                  MacroPIK'r User Manual
  2448.                                                                    Commands
  2449.  
  2450.  
  2451.  
  2452.                    region of data changes to an inverse outline to indicate
  2453.                    where you are (tentatively) going to move or copy to (as
  2454.                    usual).  Then press Trn-F5.  If the inverse outline was
  2455.                    a column, it changes to a row, or vice versa.  To
  2456.                    restore the inverse outline to its original "shape",
  2457.                    press either Esc or Trn-F5 again.  Move the cursor to
  2458.                    the upper left corner of the place in the Paste Area you
  2459.                    wish to move or copy the data to and press DO-IT.  The
  2460.                    inverse outline is moved to this place, but no data is
  2461.                    copied yet.  Continue to move the cursor and press DO-IT
  2462.                    until you are satisfied with where the transposed data
  2463.                    will be moved or copied, then press either Mov-F1 or
  2464.                    Cpy-F3 again to complete the command.
  2465.  
  2466.                    To "undo" the Move or Copy command once it has been
  2467.                    started (but before it has been completed) press Esc.
  2468.  
  2469.             Notes  See the Move and Copy commands above.
  2470.  
  2471.           Ins-F7  Insert Empty Columns or Rows
  2472.  
  2473.             When   Use the Insert command when you want to insert one or
  2474.                    more empty columns or rows into the Paste Area.
  2475.  
  2476.             What   If one or more columns were picked, that many empty
  2477.                    columns are inserted to the immediate left of the picked
  2478.                    region, and all columns to the right are shifted to the
  2479.                    right.  If one or more rows were picked, that many empty
  2480.                    rows are inserted immediately above the picked region,
  2481.                    and all rows below are shifted down.
  2482.  
  2483.             How    From the Paste Area Menu, press Cut-F7 to display the
  2484.                    Cut Sub-Menu.  Pick one or more columns or rows using
  2485.                    the Column or Row command, then press Ins-F7 from the
  2486.                    Cut Sub-Menu.
  2487.  
  2488.             Notes  If you attempt to use the Insert command in such a way
  2489.                    that a column or row would be shifted past the limits of
  2490.                    the Paste Area, MacroPIK'r displays a warning message
  2491.                    and cancels the command.
  2492.  
  2493.           Del-F9  Delete Data
  2494.  
  2495.             When   Use the Delete command when you want to erase data from
  2496.                    the Paste Area.
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.                                                                     Page 41
  2503.  
  2504.           Chapter 5                                  MacroPIK'r User Manual
  2505.                                                                    Commands
  2506.  
  2507.  
  2508.  
  2509.             What   The data in the picked region is erased.  If the picked
  2510.                    region was a column (or columns) spanning the entire
  2511.                    active area, the column "closes up", i.e., columns to
  2512.                    the right shift over into the deleted column.  If the
  2513.                    picked region was a row (or rows) spanning the entire
  2514.                    active area, the row "closes up", i.e., rows below shift
  2515.                    up into the deleted row.  Otherwise, if the picked
  2516.                    region is smaller than the active area, the data is
  2517.                    deleted and nothing is shifted.
  2518.  
  2519.             How    From the Paste Area Menu, press Cut-F7 to display the
  2520.                    Cut Sub-Menu.  Pick a region of data using the Column,
  2521.                    Row, Cell, or All command, then press Del-F9.
  2522.                    MacroPIK'r will ask you if you are sure -- type a Y or
  2523.                    press the right button on the mouse, or anything else to
  2524.                    cancel the command.
  2525.  
  2526.             Notes  Once the data is deleted there is no way to recover it,
  2527.                    short of going back to the Report Area and picking it
  2528.                    again.
  2529.  
  2530.  
  2531.                             * * * * * * * * * * * * * * *
  2532.  
  2533.  
  2534.           Miscellaneous Commands
  2535.  
  2536.  
  2537.           These are all commands that you perform with the Control key plus
  2538.           a letter:
  2539.  
  2540.               o  Ctrl-G: "Goto" a specified location in the Report or Paste
  2541.                  area.
  2542.  
  2543.               o  Ctrl-R: Begin to record a Macro.
  2544.  
  2545.               o  Ctrl-X: Execute a prerecorded Macro.
  2546.  
  2547.               o  Ctrl-Q: Resume a suspended Macro.
  2548.  
  2549.               o  Ctrl-S: "System" -- escape to DOS.
  2550.  
  2551.               o  Ctrl-W: Repaint the screen.
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.                                                                     Page 42
  2560.  
  2561.           Chapter 5                                  MacroPIK'r User Manual
  2562.                                                                    Commands
  2563.  
  2564.  
  2565.  
  2566.           Ctrl-G Goto
  2567.  
  2568.             When   Use the Goto command when you need to move the cursor to
  2569.                    a new position and you know its exact coordinates
  2570.                    (location).
  2571.  
  2572.             What   The Goto command moves the cursor to the position you
  2573.                    specify.
  2574.  
  2575.             How    Ctrl-G: press and hold the Ctrl key, then press G.
  2576.                    Enter the new position to move the cursor to, column
  2577.                    first, then row separated by a space.  In the Report
  2578.                    Area use column numbers 1-2000.  In the Paste Area use
  2579.                    column letters A-ZZ.  Use row numbers 1-32767 in the
  2580.                    Report Area and 1-9999 in the Paste Area.
  2581.  
  2582.             Notes  See also the cursor movement commands in the "Quick
  2583.                    Overview" section (page 9).
  2584.  
  2585.           Ctrl-R Record a Macro
  2586.  
  2587.             When   Use the Record command when you want to record a series
  2588.                    of commands that will later be played back.
  2589.  
  2590.             What   The Record command saves all subsequent commands until
  2591.                    (but not including) the next Record command.
  2592.  
  2593.             How    Ctrl-R: press and hold the Ctrl key, then press R.
  2594.                    MacroPIK'r asks for a name to use for storing the macro
  2595.                    - enter any legal DOS pathname, with or without an
  2596.                    extension, and press Enter.  If you don't include an
  2597.                    extension, MacroPIK'r will use the extension ".mp".  To
  2598.                    stop recording, press Ctrl-R again (or exit from
  2599.                    MacroPIK'r).
  2600.  
  2601.             Notes  See also the "Macros" section (page 47).
  2602.  
  2603.           Ctrl-X Execute a Macro
  2604.  
  2605.             When   Use the Execute command when you want to play back a
  2606.                    series of commands that were previously stored with the
  2607.                    Record command (or created using a text editor).
  2608.  
  2609.             What   MacroPIK'r will play back (or "execute") each of the
  2610.                    commands in the macro until it reaches the end of the
  2611.                    macro.
  2612.  
  2613.  
  2614.  
  2615.  
  2616.                                                                     Page 43
  2617.  
  2618.           Chapter 5                                  MacroPIK'r User Manual
  2619.                                                                    Commands
  2620.  
  2621.  
  2622.  
  2623.             How    Ctrl-X: press and hold the Ctrl key, then press X.
  2624.                    MacroPIK'r asks for the name of the macro - enter any
  2625.                    legal DOS pathname, with or without an extension, and
  2626.                    press Enter.  If you don't include an extension,
  2627.                    MacroPIK'r will use the extension ".mp".
  2628.  
  2629.                    To stop the macro while it is running, press Esc.
  2630.                    MacroPIK'r will give you the opportunity to (C)ancel the
  2631.                    macro and return to regular processing, (R)esume
  2632.                    execution of the macro from where it left off, (P)ause
  2633.                    from execution temporarily (to execute regular commands
  2634.                    then later resume execution with Ctrl-R) or to (S)tep
  2635.                    through the macro, displaying each command in turn and
  2636.                    waiting for a key to be pressed before executing it.
  2637.  
  2638.             Notes  See also the "Macros" section.  A suspended macro may be
  2639.                    resumed, even after you have entered other commands,
  2640.                    with the Ctrl-Q command.
  2641.  
  2642.           Ctrl-R Resume a Macro
  2643.  
  2644.             When   Use the Resume command when you want to resume a macro
  2645.                    that you have interrupted with Esc, and you have given
  2646.                    MacroPIK'r some manual commands since, so the 'R'
  2647.                    response can't be used.
  2648.  
  2649.             What   MacroPIK'r will resume playing back the interrupted
  2650.                    macro from where it left off.
  2651.  
  2652.             How    Ctrl-Q: press and hold the Ctrl key, then press Q.
  2653.  
  2654.           Ctrl-S System Command (DOS)
  2655.  
  2656.             When   Use the System command to temporarily leave MacroPIK'r
  2657.                    and enter DOS.  This is handy if you suddenly need to do
  2658.                    DOS things and don't want to leave MacroPIK'r.
  2659.  
  2660.             What   MacroPIK'r will free up as much memory as it can then
  2661.                    run a new copy of DOS in that space.
  2662.  
  2663.             How    Ctrl-S: press and hold the Ctrl key, then press S.  You
  2664.                    can perform any DOS functions you like, but be sure NOT
  2665.                    to start any "Terminate-and-Stay-Resident" programs,
  2666.                    such as PRINT -- if you do, the system may crash or hang
  2667.                    when you exit DOS back to MacroPIK'r.
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.                                                                     Page 44
  2674.  
  2675.           Chapter 5                                  MacroPIK'r User Manual
  2676.                                                                    Commands
  2677.  
  2678.  
  2679.  
  2680.                    To leave DOS and go back to MacroPIK'r where you left
  2681.                    off, type the "exit" command to DOS.
  2682.  
  2683.             Notes  MacroPIK'r takes about 200k bytes when you do this,
  2684.                    which usually leaves enough RAM for most programs.
  2685.  
  2686.           The "System" command, allows you to temporarily suspend the
  2687.           operation of MacroPIK'r and directly access DOS.  When you press
  2688.           Ctrl-S MacroPIK'r saves its current state and lets you interact
  2689.           directly with DOS.  This is very useful if you find that in the
  2690.           middle of a session with MacroPIK'r you need to format a floppy
  2691.           disk or work with other programs without exiting first.  When you
  2692.           have finished working with DOS, type the DOS command "exit" to
  2693.           leave DOS and return to where you left off in MacroPIK'r.
  2694.  
  2695.           Though the System command can be very useful, please remember
  2696.           that it can also be somewhat dangerous.  This is because while
  2697.           you are in DOS, MacroPIK'r is suspended and can't perform checks
  2698.           on your actions.  In general, whatever DOS configuration was in
  2699.           existence when you left MacroPIK'r, must exist when you resume.
  2700.  
  2701.           If, for example, you delete the file you were looking at in the
  2702.           Report Area or install a "memory resident" TSR program,
  2703.           MacroPIK'r may behave unpredictably (or not at all) after you
  2704.           type "exit".  Also, never issue the DOS "print" or "mode"
  2705.           commands (or other TSR programs) while MacroPIK'r is suspended,
  2706.           unless you have already done so before starting your current
  2707.           session with MacroPIK'r (these commands load TSRs the first time
  2708.           they are used).  However, it is safe, and often quite useful, to
  2709.           change the current directory while MacroPIK'r is suspended -
  2710.           MacroPIK'r will keep track of where its files are.
  2711.  
  2712.           Note: The System command uses the DOS environment parameter
  2713.           "COMSPEC" to locate the command processor (usually command.com).
  2714.           See your DOS manual for details.
  2715.  
  2716.           Ctrl-W Repaint Screen
  2717.  
  2718.             When   Use the Repaint command if your screen gets messed up by
  2719.                    other programs while you are in MacroPIK'r, such as
  2720.                    TSRs.
  2721.  
  2722.             What   MacroPIK'r simply "repaints" the screen like it thinks
  2723.                    it should look.
  2724.  
  2725.             How    Ctrl-W: press and hold the Ctrl key, then press W.
  2726.  
  2727.  
  2728.  
  2729.  
  2730.                                                                     Page 45
  2731.  
  2732.           Chapter 5                                  MacroPIK'r User Manual
  2733.                                                                    Commands
  2734.  
  2735.  
  2736.  
  2737.             Notes  This is rarely necessary.  However, if something else
  2738.                    "pops-up" and then goes away leaving the screen messed
  2739.                    up, it is handy to be able to repaint it.
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.  
  2780.  
  2781.  
  2782.  
  2783.  
  2784.  
  2785.  
  2786.  
  2787.                                                                     Page 46
  2788.  
  2789.           Chapter 6                                  MacroPIK'r User Manual
  2790.                                                                      Macros
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.                                       Chapter 6
  2801.  
  2802.                                        Macros
  2803.  
  2804.  
  2805.           Introduction
  2806.  
  2807.           MacroPIK'r has a facility for performing commands automatically,
  2808.           using a set of commands as its guide.  Once the set of commands,
  2809.           called a "macro", has been created, you can execute it:
  2810.           MacroPIK'r reads the macro and executes the commands without
  2811.           further intervention from you.
  2812.  
  2813.           (This is why MacroPIK'r is called MacroPIK'r.  It has macros, and
  2814.           it picks data.)
  2815.  
  2816.           To create macros, MacroPIK'r has a Learn Facility for recording
  2817.           commands as they are typed.  You can also customize the macros
  2818.           that MacroPIK'r records or create them yourself using any text
  2819.           editor that creates standard ASCII files (the "non-document mode"
  2820.           in WordPerfect, for example).  A macro can do anything you can do
  2821.           manually with the keyboard and mouse.  The only exception is the
  2822.           Edit command -- there is no way to record or execute this
  2823.           command.
  2824.  
  2825.           The Record Command
  2826.  
  2827.           To start recording a series of commands to a macro, press Ctrl-R
  2828.           (press and hold the control key, then press R) and type a file
  2829.           name that MacroPIK'r will use to store the macro.  If you don't
  2830.           include a file name extension, MacroPIK'r will automatically add
  2831.           the extension ".mp".  To stop recording commands to the macro,
  2832.           press Ctrl-R again (or exit from MacroPIK'r, which does an
  2833.           automatic Ctrl-R).
  2834.  
  2835.           The Execute Command
  2836.  
  2837.           To execute a previously recorded macro (even if you are currently
  2838.           recording a macro) move the cursor to the position you want the
  2839.           macro to start from, then press Ctrl-X and type the macro's name
  2840.           followed by an optional series of parameters (described in the
  2841.  
  2842.  
  2843.  
  2844.                                                                     Page 47
  2845.  
  2846.           Chapter 6                                  MacroPIK'r User Manual
  2847.                                                                      Macros
  2848.  
  2849.  
  2850.  
  2851.           "Macro Parameters" section below).  If you do not include a file
  2852.           name extension, MacroPIK'r will add the extension ".mp" to the
  2853.           name you give.  Each of the commands in the macro is played back
  2854.           just as it was recorded by MacroPIK'r (or created by you) until
  2855.           the end of the macro is reached.
  2856.  
  2857.           Macro Execution From DOS
  2858.  
  2859.           To execute a macro from the DOS command line, type the name of
  2860.           the batch file appropriate for your system (i.e. mpikc, mpikbw,
  2861.           mpikb or mpikd) followed by @name par1 par2 ... where "name" is
  2862.           the name of your macro and "par1 par2 ..." are optional
  2863.           parameters to be passed to the macro.  For example, on a color
  2864.           monitor system, type:
  2865.  
  2866.                mpikc @tutor3
  2867.  
  2868.           to execute the macro file "tutor3.mp" included on the
  2869.           distribution disk.
  2870.  
  2871.           Note that if the file name extension of your macro file is ".mp"
  2872.           (the extension used by MacroPIK'r whenever you don't specify a
  2873.           different one) you may omit the extension.  Thus if you have a
  2874.           macro file called "my_macro.jan" you must include the extension:
  2875.  
  2876.                mpikc @my_macro.jan
  2877.  
  2878.           Special Key Functions
  2879.  
  2880.           Pressing the Esc key during macro execution causes MacroPIK'r to
  2881.           stop the macro at the end of the current command and display the
  2882.           message "(C)ancel,(R)esume,(S)tep,(P)ause: " in the Status Line.
  2883.           To cancel macro execution and return to normal processing, press
  2884.           C.  To resume execution from where the macro left off, press R.
  2885.           To put MacroPIK'r into single-step mode, press S.  To enter pause
  2886.           mode (to execute ordinary keyboard commands for a while), press
  2887.           P.
  2888.  
  2889.           When MacroPIK'r is in single-step mode, it displays each command
  2890.           on the Status Line waiting for a key to be pressed before
  2891.           executing it.  To return to normal macro execution or cancel
  2892.           execution entirely, press Esc again followed by the appropriate
  2893.           letter as described above.
  2894.  
  2895.           When MacroPIK'r is in pause mode, you can resume execution of the
  2896.           macro from where it left off by pressing Ctrl-Q (press and hold
  2897.           the Ctrl key, then press Q).  Before resuming execution, however,
  2898.  
  2899.  
  2900.  
  2901.                                                                     Page 48
  2902.  
  2903.           Chapter 6                                  MacroPIK'r User Manual
  2904.                                                                      Macros
  2905.  
  2906.  
  2907.  
  2908.           be sure to return to the Sub-Menu that was in effect when pause
  2909.           mode was entered, otherwise the macro may terminate with a
  2910.           "sequence error" message.
  2911.  
  2912.           Macro Command Grammar
  2913.  
  2914.           Each macro command you create must be grammatically correct;
  2915.           incorrect grammar will cause an error when you execute the macro.
  2916.           The general format of a macro command is:
  2917.  
  2918.                cmd  arg1 arg2 ... argn
  2919.  
  2920.           cmd is a command keyword that you must type exactly as shown in
  2921.           this section; uppercase and lowercase letters are equivalent.
  2922.           arg1, arg2 ... argn are command arguments separated from the
  2923.           command keyword and from each other by spaces or tabs.
  2924.           Grammatically speaking, a macro command keyword is like a verb in
  2925.           a sentence.  Arguments are like objects.  They complete a command
  2926.           by indicating the what or where of an action.
  2927.  
  2928.           MacroPIK'r's rules of macro command grammar are:
  2929.  
  2930.               o  Each command must be contained on a single line of no more
  2931.                  than 250 characters.
  2932.  
  2933.               o  Each command must begin with a macro command keyword,
  2934.                  optionally followed by one or more arguments.
  2935.  
  2936.               o  Each argument must be separated from the command keyword
  2937.                  and from each other by spaces or tabs.
  2938.  
  2939.               o  Blank lines may be inserted in your macros to make them
  2940.                  easier for you to read -- MacroPIK'r ignores them.
  2941.  
  2942.               o  Each command must have the proper number and type of
  2943.                  arguments.
  2944.  
  2945.               o  Most commands may appear only in the context of their
  2946.                  Sub-Menu. For example, the Div macro command must appear
  2947.                  within the Fix Sub-Menu (see the "Command Summary" section
  2948.                  in this manual and the "Macro Command Summary" section
  2949.                  below for details.)
  2950.  
  2951.           There is no limit on the number of commands contained in a macro
  2952.           or on the number of levels of macro subroutines (executing a
  2953.           macro from a macro).
  2954.  
  2955.  
  2956.  
  2957.  
  2958.                                                                     Page 49
  2959.  
  2960.           Chapter 6                                  MacroPIK'r User Manual
  2961.                                                                      Macros
  2962.  
  2963.  
  2964.  
  2965.           Macro Coordinates
  2966.  
  2967.           Many commands in a macro operate on a picked region of data. For
  2968.           example, the Pst macro command copies a picked region of data
  2969.           from the Report Area to the Paste Area.  In a macro, these
  2970.           regions are specified as four numbers giving the upper left and
  2971.           lower right boundaries of the region.  For example, one use of
  2972.           the Text macro command might be:
  2973.  
  2974.                Txt 4 1 3 7
  2975.  
  2976.           Instead of (or in addition to) using numbers such as this, the
  2977.           special keywords _left, _top, _right and _bottom, in conjunction
  2978.           with a numeric offset may be used.  For example, to transfer all
  2979.           of the current Report Area page to the Paste Area:
  2980.  
  2981.                Pst _left _top _right _bottom R
  2982.  
  2983.           and to delete all except the first column and the last two rows
  2984.           of the Paste Area:
  2985.  
  2986.                Del _left+1 _top _right _bottom-2
  2987.  
  2988.           Usually the numeric coordinates (as in the first example above)
  2989.           are expressed relative to a fixed reference point called the
  2990.           Current Absolute Position (CAP), so that the same macro can be
  2991.           used on a different region of data by moving the cursor to the
  2992.           new region, then re-executing the macro.  Thus, using relative
  2993.           coordinates, (0 0 3 5) specifies a region four units wide and six
  2994.           units high whose upper left corner is at the CAP.
  2995.  
  2996.           To maintain independence between the Report Area and Paste Area,
  2997.           MacroPIK'r actually has two CAP's, one in each area.  Some of
  2998.           MacroPIK'r commands (and their macro command counterparts) have
  2999.           the effect of moving the Report or Paste Area CAP to a new
  3000.           position:
  3001.  
  3002.               o  The Execute command sets the Report or Paste Area CAP to
  3003.                  the position of the cursor when the macro begins
  3004.                  execution.
  3005.  
  3006.               o  The Find command, if successful, sets the Report Area CAP
  3007.                  to the beginning of the string.
  3008.  
  3009.               o  The Goto command sets the Report or Paste Area CAP to the
  3010.                  specified position.
  3011.  
  3012.  
  3013.  
  3014.  
  3015.                                                                     Page 50
  3016.  
  3017.           Chapter 6                                  MacroPIK'r User Manual
  3018.                                                                      Macros
  3019.  
  3020.  
  3021.  
  3022.               o  The Home (and End) keys set the Report or Paste Area CAP
  3023.                  to the upper left (lower right) of the Report or Paste
  3024.                  Area.
  3025.  
  3026.               o  The Input commands (Flat, WKS, DIF, CSV, SYLK, FXL) and
  3027.                  the Page command set the Report Area CAP to the top left
  3028.                  corner of the page.
  3029.  
  3030.               o  The Paste command sets the Paste Area CAP to the upper
  3031.                  left corner of the region that was just "pasted".
  3032.  
  3033.           Absolute Coordinates
  3034.  
  3035.           MacroPIK'r uses the "relative method" of specifying coordinates
  3036.           described in the previous section when it records commands.  The
  3037.           other method of specifying coordinates is the "absolute method".
  3038.  
  3039.           If you are creating your own macros you have the option of using
  3040.           either the relative or absolute version of each macro command.
  3041.           The absolute version of a macro command is exactly the same as
  3042.           the relative form, except that the special character "$" appears
  3043.           in front of the command.  Thus the macro command "Pst" is the
  3044.           relative form, while "$Pst" is the absolute form.  Using this
  3045.           method, the coordinates (1 2 8 3) specify a region nine units
  3046.           wide and two units high whose upper left corner is at column 1,
  3047.           row 2.  This method is particularly useful when you know the
  3048.           precise layout of your data and are designing a macro to convert
  3049.           certain parts of that data.
  3050.  
  3051.           Macro Subroutines
  3052.  
  3053.           "The Execute Command" section above describes two ways of
  3054.           executing a macro.  A macro may also execute another macro.  This
  3055.           is called executing a macro subroutine.  To do this you use the
  3056.           Exe macro command, for example, "Exe my_macro".  When MacroPIK'r
  3057.           executes this macro command it continues executing commands from
  3058.           macro "my_macro".  When "my_macro" is finished, MacroPIK'r
  3059.           returns to the original macro just where it left off.  One macro
  3060.           can execute another at any time.
  3061.  
  3062.           Macro Parameters
  3063.  
  3064.           In most macro commands, you specify a keyword followed by one or
  3065.           more arguments.  Similarly, you can give values to a macro that
  3066.           you have created.  This is called passing parameters to a macro.
  3067.           To do this type each parameter separated by spaces following the
  3068.  
  3069.  
  3070.  
  3071.  
  3072.                                                                     Page 51
  3073.  
  3074.           Chapter 6                                  MacroPIK'r User Manual
  3075.                                                                      Macros
  3076.  
  3077.  
  3078.  
  3079.           macro name.  If you have created a macro called macro1, you can
  3080.           give it values to use when it executes:
  3081.  
  3082.                mpikc @macro1 wks csv
  3083.  
  3084.           This will pass the values "wks" and "csv" to macro1.  Likewise,
  3085.           this same method is used for MacroPIK'r's Execute (Ctrl-X)
  3086.           command and the macro command Exe.
  3087.  
  3088.           To signify a parameter in the macro itself, use ^1 for the first
  3089.           parameter, ^2 for the second and so on (similar to the use of %1,
  3090.           etc. in a DOS batch file).  Parameters can be simple strings or
  3091.           even refer to other parameters, for instance:
  3092.  
  3093.                mpikc @macro1 wks csv summary.^1 summary.^2
  3094.  
  3095.           would become "wks csv summary.wks summary.csv".  Think about it.
  3096.  
  3097.           Up to 99 parameters can be specified, with the following
  3098.           limitations:
  3099.  
  3100.               o  When you use the DOS command line method of executing a
  3101.                  macro, DOS can only pass a total of 9 parameters to
  3102.                  MacroPIK'r and one of these is used by the macro name
  3103.                  itself, leaving a maximum of 8 parameters to be passed to
  3104.                  the macro.
  3105.  
  3106.               o  When you use the Execute (Ctrl-X) command to execute a
  3107.                  macro, only as many parameters as will fit on MacroPIK'r's
  3108.                  Status Line can be passed (100 characters).
  3109.  
  3110.               o  When you pass parameters to a macro subroutine (with the
  3111.                  Exe macro command) the only limit is that after all
  3112.                  parameters have been substituted, the line must be no more
  3113.                  than 250 characters long.
  3114.  
  3115.  
  3116.           Macro Command Summary
  3117.  
  3118.  
  3119.           The section below describes each of the macro commands.  For
  3120.           readability the first letter of each macro command is shown in
  3121.           uppercase, but lowercase and uppercase letters may be used.
  3122.           Optional elements are contained in square brackets [].  Choices
  3123.           are indicated with the vertical bar |, for example, L|R means
  3124.           type either L or R.  Where the double quotes " are shown, for
  3125.           example the argument "string" in the Fnd command, the quotes are
  3126.  
  3127.  
  3128.  
  3129.                                                                     Page 52
  3130.  
  3131.           Chapter 6                                  MacroPIK'r User Manual
  3132.                                                                      Macros
  3133.  
  3134.  
  3135.  
  3136.           part of the command and must be included.  Ellipses ... are used
  3137.           to indicate a series of items similar to those preceding.
  3138.  
  3139.           See also the "Command Summary" section in this manual for further
  3140.           information relating to the commands below.
  3141.  
  3142.  
  3143.           !                                                  Comment line
  3144.  
  3145.                MacroPIK'r ignores any line beginning with an exclamation
  3146.                point.  You can (and should) use comment lines to document
  3147.                your macros.  Comment lines may appear anywhere in a macro.
  3148.                MacroPIK'r will always insert a comment line when it records
  3149.                a macro, which tells the time and date the macro was
  3150.                recorded.
  3151.  
  3152.  
  3153.           Beep                                              Ring the bell
  3154.  
  3155.                Make a tone on the PC's speaker.  The Beep command may be
  3156.                used anywhere in a macro.  This is useful for getting an
  3157.                operators attention after a long macro or command is
  3158.                complete.
  3159.  
  3160.  
  3161.           Cmark  n1 n2 ...                     Report Area column markers
  3162.  
  3163.                Override the Report Area column marker positions set by
  3164.                MacroPIK'r.  Column markers are set to n1 n2 ....  The Cmark
  3165.                command may be used anywhere in a macro; the settings remain
  3166.                in effect until the next Cmark command.
  3167.  
  3168.  
  3169.           Cmarka  n1 n2 ...                Add Report Area Column Markers
  3170.  
  3171.                Add the specified Report Area Column Markers to those
  3172.                already in effect.  For example, the following commands:
  3173.  
  3174.                Cmark    4 8 12
  3175.                Cmarka   10 30
  3176.  
  3177.                would set the column markers to columns 4, 8, 10, 12 and 30.
  3178.                The Cmarka command has been added to overcome the
  3179.                limitations of the Cmark command.  When a macro was being
  3180.                recorded and the Paste command was used on a very wide input
  3181.                file, the Cmark command generated would occasionally be
  3182.                "truncated" to the 250 character line length limit with an
  3183.  
  3184.  
  3185.  
  3186.                                                                     Page 53
  3187.  
  3188.           Chapter 6                                  MacroPIK'r User Manual
  3189.                                                                      Macros
  3190.  
  3191.  
  3192.  
  3193.                error message to that effect.  MacroPIK'r now avoids this
  3194.                problem by generating the proper sequence of Cmark and
  3195.                Cmarka commands to keep each line to a reasonable length.
  3196.                The Cmarka macro command may be used anywhere in a macro;
  3197.                the settings remain in effect until the next Cmark command.
  3198.  
  3199.  
  3200.           Cpy [T] xlo ylo xhi yhi x y      Copy data (optional transpose)
  3201.  
  3202.                Copy the data in the Paste Area picked region (xlo ylo xhi
  3203.                yhi) to the region whose upper left corner is (x y).  If the
  3204.                T option is used, the data is transposed as it is copied.
  3205.                The Cpy command may be used only in the Cut Sub-Menu.
  3206.  
  3207.  
  3208.           Csv f n [c]                       Display (input) from CSV file
  3209.  
  3210.                Display the CSV (delimited) file 'f' in the Report Area.
  3211.                The page length is set to n.  If n is negative, the page
  3212.                length is set to 66 lines.  If n is 0, the page length is
  3213.                set to the length of the entire file.  The delimiter
  3214.                character is set to "c".  If c is missing, the delimiter
  3215.                character is set to a comma (,).  The Csv (input) command
  3216.                may be used only in the Input Sub-Menu.
  3217.  
  3218.  
  3219.           Csv xlo ylo xhi yhi f [c]             Save (output) to CSV file
  3220.  
  3221.                Save the data in the Paste Area picked region (xlo ylo xhi
  3222.                yhi) to the CSV (delimited) file 'f', using the delimiter
  3223.                character c.  If c is missing, the delimiter character is
  3224.                set to a comma (,).  The Csv (output) command may be used
  3225.                only in the Output Sub-Menu.
  3226.  
  3227.  
  3228.           Cut                                    Display the Cut Sub-Menu
  3229.  
  3230.                Display the Cut Sub-Menu.  The Cut command may be used only
  3231.                in the Paste Area main menu.
  3232.  
  3233.  
  3234.           Cwidth  xlo  xhi  n  [L | R]       Set Paste Area column widths
  3235.  
  3236.                Set the width of the Paste Area columns between xlo and xhi
  3237.                to n.  If the L option is present, decrement the width of
  3238.                the columns by n.  If the R option is present, increment the
  3239.                width of the columns by n.  If n is 0, the width of the
  3240.  
  3241.  
  3242.  
  3243.                                                                     Page 54
  3244.  
  3245.           Chapter 6                                  MacroPIK'r User Manual
  3246.                                                                      Macros
  3247.  
  3248.  
  3249.  
  3250.                columns is set to the widest cell in each column.  The
  3251.                Cwidth macro command may be used only in the Paste Area.
  3252.  
  3253.  
  3254.           Dbf f n                                   Display from DBF file
  3255.  
  3256.                This will display the DBF file named 'f' in the Report Area.
  3257.                The page length is set to n.  If n is negative the page
  3258.                length is set to 66 lines; if n is 0, the page length is set
  3259.                to the length of the entire file.  The Dbf (input) macro
  3260.                command may be used only in the Input Sub-Menu.
  3261.  
  3262.  
  3263.           Dbf xlo ylo xhi yhi f n A|R|C                  Save to DBF file
  3264.  
  3265.                This will save the data in the Paste Area picked region xlo
  3266.                ylo xhi yhi to the DBF file named 'f'.  The argument 'n' may
  3267.                be either the number 2 or 3 to indicate a dBASE II or dBASE
  3268.                III/IV file.  The last argument may be either the letter A,
  3269.                the letter R, or the letter C to specify (if the output file
  3270.                already exists) whether the data in the picked region should
  3271.                be Appended to the existing file (without altering the
  3272.                structure of the file), Replace all records in the file with
  3273.                the new data (without altering the structure), or to Create
  3274.                an entirely new file and structure (overwriting the existing
  3275.                file).  The Dbf (output) macro command may be used only in
  3276.                the Output Sub-Menu.
  3277.  
  3278.  
  3279.           Del xlo ylo xhi yhi                                 Delete data
  3280.  
  3281.                Delete the data in the Paste Area picked region (xlo ylo xhi
  3282.                yhi).  The Del command may be used only in the Cut Sub-Menu.
  3283.  
  3284.  
  3285.           Dif f n                           Display (input) from DIF file
  3286.  
  3287.                Display the DIF (Data Interchange Format) file 'f' in the
  3288.                Report Area.  The page length is set to n.  If n is
  3289.                negative, the page length is set to 66 lines.  If n is 0,
  3290.                the page length is set to the length of the entire file.
  3291.                The Dif (input) command may be used only in the Input Sub-
  3292.                Menu.
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.                                                                     Page 55
  3301.  
  3302.           Chapter 6                                  MacroPIK'r User Manual
  3303.                                                                      Macros
  3304.  
  3305.  
  3306.  
  3307.           Dif xlo ylo xhi yhi f                 Save (output) to DIF file
  3308.  
  3309.                Save the Paste Area picked region (xlo ylo xhi yhi) to the
  3310.                DIF (Data Interchange Format) file 'f'.  The Dif (output)
  3311.                command may be used only in the Output Sub-Menu.
  3312.  
  3313.  
  3314.           Div x n                                Divide a column into two
  3315.  
  3316.                Divide Paste Area column x at n characters into the column.
  3317.                The Div command may be used only in the Fix Sub-Menu.
  3318.  
  3319.  
  3320.           End                                  Move to lower right corner
  3321.  
  3322.                Move the cursor to the lower right corner.  The End command
  3323.                may be used anywhere in a macro.
  3324.  
  3325.  
  3326.           Esc                              Exit from the current Sub-Menu
  3327.  
  3328.                Exit the current Sub-Menu back to the previous one.  The Esc
  3329.                command may be used anywhere in a macro.
  3330.  
  3331.  
  3332.           Exe macro [par1 par2 ...]            Execute a macro subroutine
  3333.  
  3334.                Execute the named macro subroutine, optionally with one or
  3335.                more parameters.  MacroPIK'r begins executing commands from
  3336.                the new macro.  When the new macro is finished, MacroPIK'r
  3337.                returns to the original macro where it left off.  The Exe
  3338.                command may be used anywhere in a macro.
  3339.  
  3340.                See also the "Macro Subroutines" and "Macro Parameters"
  3341.                sections above.
  3342.  
  3343.  
  3344.           Fix                                    Display the Fix Sub-Menu
  3345.  
  3346.                Display the Fix Sub-Menu.  The Fix command may be used only
  3347.                in the Paste Area main menu.
  3348.  
  3349.  
  3350.           Flt f n                          Display (input) from Flat file
  3351.  
  3352.                Display the Flat (standard ASCII) file 'f' in the Report
  3353.                Area.  The page length is set to n.  If n is negative, the
  3354.  
  3355.  
  3356.  
  3357.                                                                     Page 56
  3358.  
  3359.           Chapter 6                                  MacroPIK'r User Manual
  3360.                                                                      Macros
  3361.  
  3362.  
  3363.  
  3364.                page length is set to 66 lines (or a formfeed, whichever
  3365.                comes first).  If n is 0, the page length is set to the
  3366.                length of the entire file.  The Flt (input) command may be
  3367.                used only in the Input Sub-Menu.
  3368.  
  3369.  
  3370.           Flt xlo ylo xhi yhi f                Save (output) to Flat file
  3371.  
  3372.                Save the Paste Area picked region (xlo ylo xhi yhi) to the
  3373.                Flat (standard ASCII) file 'f'.  The Flt (output) command
  3374.                may be used only in the Output Sub-Menu.
  3375.  
  3376.  
  3377.           Fnd ["string"] L|R                          Search for a string
  3378.  
  3379.                Search for a string in the Report Area input file.  If the
  3380.                "string" option is used, it must be enclosed in quotes.  If
  3381.                "string" is missing, search for the previous search string.
  3382.                The L ("left") option searches backward; R ("right")
  3383.                searches forward.  The Fnd command may be used only in the
  3384.                Report Area main menu.
  3385.  
  3386.  
  3387.           Fxl f n1 n2                    Display Fixed-Length Record file
  3388.  
  3389.                This will display the Fixed-Length format file named 'f' in
  3390.                the Report Area.  The page length is set to 'n1'.  If 'n1'
  3391.                is negative the page length is set to 66 lines; if 'n1' is
  3392.                0, the page length is set to the length of the entire file.
  3393.                The record length is set to 'n2', which must be greater than
  3394.                0.  The Fxl (input) macro command may be used only in the
  3395.                Input Sub-Menu.
  3396.  
  3397.  
  3398.           Fxl xlo ylo xhi yhi f [n]      Save to Fixed-Length Record file
  3399.  
  3400.                This will save the data in the Paste Area picked region xlo
  3401.                ylo xhi yhi to the Fixed-Length format file named 'f'.  If
  3402.                the 'n' option is used, the record length is set to 'n',
  3403.                which must not equal 0.  If 'n' is missing or negative, the
  3404.                record length is set to the sum of the widths of the columns
  3405.                in the picked region xlo ylo xhi yhi.  The Fxl (output)
  3406.                macro command may be used only in the Output Sub-Menu.
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.                                                                     Page 57
  3415.  
  3416.           Chapter 6                                  MacroPIK'r User Manual
  3417.                                                                      Macros
  3418.  
  3419.  
  3420.  
  3421.           Goto x y                                 Move to a new position
  3422.  
  3423.                Move the cursor to column x, row y.  The Goto command may be
  3424.                used anywhere in a macro.
  3425.  
  3426.  
  3427.           Home                                  Move to upper left corner
  3428.  
  3429.                Move the cursor to the upper left corner.  The Home command
  3430.                may be used anywhere in a macro.
  3431.  
  3432.  
  3433.           In                                   Display the Input Sub-Menu
  3434.  
  3435.                Display the Input Sub-Menu.  The In command may be used only
  3436.                from the Report Area main menu.
  3437.  
  3438.  
  3439.           Ins C|R n1 n2                      Insert empty columns or rows
  3440.  
  3441.                Insert one or more empty Paste Area columns or rows.  If the
  3442.                C option is used, (n1 n2) specifies the range of columns to
  3443.                be inserted.  If the R option is used, (n1 n2) specifies the
  3444.                range of rows to be inserted.  The Ins command may be used
  3445.                only from the Cut Sub-Menu.
  3446.  
  3447.  
  3448.           Mov [T] xlo ylo xhi yhi x y      Move data (optional transpose)
  3449.  
  3450.                Move the data in the Paste Area picked region (xlo ylo xhi
  3451.                yhi) to the region whose upper left corner is (x y).  If the
  3452.                T option is used, the data is transposed as it is moved.
  3453.                The Mov command may be used only from the Cut Sub-Menu.
  3454.  
  3455.  
  3456.           Mrg xlo xhi                           Merge two or more columns
  3457.  
  3458.                Merge the Paste Area columns in the range (xlo xhi) into one
  3459.                column.  The Merge command may be used only from the Fix
  3460.                SubMenu.
  3461.  
  3462.  
  3463.           Num U|E|M xlo ylo xhi yhi               Convert data to numbers
  3464.  
  3465.                Convert the data in the Paste Area picked region (xlo ylo
  3466.                xhi yhi) to numbers using the specified numeric convention
  3467.                option.  Use the U option for the U.S. numeric convention of
  3468.  
  3469.  
  3470.  
  3471.                                                                     Page 58
  3472.  
  3473.           Chapter 6                                  MacroPIK'r User Manual
  3474.                                                                      Macros
  3475.  
  3476.  
  3477.  
  3478.                using a dot (.) for a decimal point and a comma (,) as the
  3479.                thousands separator.  Use the E option for the European
  3480.                convention which reverses the role of these two characters.
  3481.                Use the M option for the metric convention which uses a dot
  3482.                (.) for a decimal point and a space for the thousands
  3483.                separator on both sides of the decimal point.  The Num
  3484.                command may be used only from the Fix Sub-Menu.
  3485.  
  3486.  
  3487.           Out                                 Display the Output Sub-Menu
  3488.  
  3489.                Display the Output Sub-Menu.  The Out command may be used
  3490.                only from the Paste Area main menu.
  3491.  
  3492.  
  3493.           Pag [n] [L|R]                      Display page from input file
  3494.  
  3495.                Display page n in the Report Area input file.  If the L
  3496.                option is used, display the page n pages before the current
  3497.                one.  If the R option is used, display the page n pages
  3498.                after the current one.  If n is missing, display the
  3499.                previous page if the L option is used, or the next page if
  3500.                the R option is used.  The Pag command may be used only from
  3501.                the Report Area main menu.
  3502.  
  3503.  
  3504.           Pst [xlo ylo xhi yhi D|R]                  Go to the Paste Area
  3505.  
  3506.                Go to the Paste Area, optionally copying the data in the
  3507.                Report Area picked region (xlo ylo xhi yhi).  If the D
  3508.                ("down") option is used, the data is copied below any
  3509.                existing data in the Paste Area.  If the R ("right") option
  3510.                is used, the data is copied to the right of any existing
  3511.                data in the Paste Area.  The Pst command may be used only
  3512.                from the Report Area main menu.
  3513.  
  3514.  
  3515.           Rpt                                       Go to the Report Area
  3516.  
  3517.                Go to the Report Area.  The Rpt command may be used only
  3518.                from the Paste Area main menu.
  3519.  
  3520.  
  3521.           Run n command [arg1 arg2 ...]                 Run a DOS command
  3522.  
  3523.                Run a DOS command from within a macro.  After the command
  3524.                completes, control is returned to the macro.  The argument
  3525.  
  3526.  
  3527.  
  3528.                                                                     Page 59
  3529.  
  3530.           Chapter 6                                  MacroPIK'r User Manual
  3531.                                                                      Macros
  3532.  
  3533.  
  3534.  
  3535.                'n' specifies the time in seconds for MacroPIK'r to wait
  3536.                after running the command and before resuming execution of
  3537.                the macro, in case the operator needs to see the screen for
  3538.                a while.  The argument "command" may be any valid DOS
  3539.                command, including a program or batch file in the current
  3540.                directory or path.  "Arg1 arg2 ..." are arguments supplied
  3541.                to the program or batch file and are not interpreted by
  3542.                MacroPIK'r in any way.  The Run macro command may be used
  3543.                anywhere in a macro.
  3544.  
  3545.  
  3546.           Slk f n                          Display (input) from SYLK file
  3547.  
  3548.                Display the SYLK file named 'f' in the Report Area.  The
  3549.                page length is set to 'n'.  If 'n' is negative, the page
  3550.                length is set to 66 lines.  If 'n' is 0, the page length is
  3551.                set to the length of the entire file.  The Slk (input)
  3552.                command may be used only in the Input Sub-Menu.
  3553.  
  3554.  
  3555.           Slk xlo ylo xhi yhi f                Save (output) to SYLK file
  3556.  
  3557.                Save the Paste Area picked region (xlo ylo xhi yhi) to the
  3558.                SYLK file named 'f'.  The Slk (output) command may be used
  3559.                only in the Output Sub-Menu.
  3560.  
  3561.  
  3562.           Step                                     Enter single-step mode
  3563.  
  3564.                Put MacroPIK'r into single-step mode, the same as pressing
  3565.                Esc followed by S.  (See the Special Key Functions section
  3566.                above.)  The Step command may be used anywhere in a macro.
  3567.                This is very useful for debugging macros that you have
  3568.                written yourself.
  3569.  
  3570.  
  3571.           System                                      Directly access DOS
  3572.  
  3573.                Temporarily suspend the executing macro and directly
  3574.                interact with DOS.  The difference between this and the Run
  3575.                command is that the Run command executes a single DOS
  3576.                command then returns to the executing macro.  The System
  3577.                command, on the other hand, suspends the executing macro
  3578.                until you type the DOS command "exit".  See also the
  3579.                "Perform Any DOS Command from MacroPIK'r" section for more
  3580.                details and cautions relating to this command.  The System
  3581.                macro command may be used anywhere in a macro.
  3582.  
  3583.  
  3584.  
  3585.                                                                     Page 60
  3586.  
  3587.           Chapter 6                                  MacroPIK'r User Manual
  3588.                                                                      Macros
  3589.  
  3590.  
  3591.  
  3592.           Txt xlo ylo xhi yhi                        Convert data to text
  3593.  
  3594.                Convert the data in the Paste Area picked region (xlo ylo
  3595.                xhi yhi) to text.  The Txt command may be used only from the
  3596.                Fix Sub-Menu.
  3597.  
  3598.  
  3599.           Wks f n                           Display (input) from WKS file
  3600.  
  3601.                Display the WKS (Lotus Worksheet) file named 'f' in the
  3602.                Report Area.  The page length is set to n.  If n is
  3603.                negative, the page length is set to 66 lines.  If n is 0,
  3604.                the page length is set to the length of the entire file.
  3605.                The Wks (input) command may be used only in the Input Sub-
  3606.                Menu.
  3607.  
  3608.  
  3609.           Wks xlo ylo xhi yhi f                 Save (output) to WKS file
  3610.  
  3611.                Save the Paste Area picked region (xlo ylo xhi yhi) to the
  3612.                WKS (Lotus Worksheet) file named 'f'.  The Wks (output)
  3613.                command may be used only in the Output Sub-Menu.
  3614.  
  3615.  
  3616.           Xit                                      Exit MacroPIK'r to DOS
  3617.  
  3618.                Exit MacroPIK'r and return to DOS.  The Xit command may be
  3619.                used either from the Report Area main menu or the Paste Area
  3620.                main menu.
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642.                                                                     Page 61
  3643.  
  3644.           Chapter 7                                  MacroPIK'r User Manual
  3645.                                                          Errors & Questions
  3646.  
  3647.  
  3648.  
  3649.  
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.                                       Chapter 7
  3656.  
  3657.                                  Errors & Questions
  3658.  
  3659.  
  3660.           Error Messages
  3661.  
  3662.  
  3663.           Whenever you ask MacroPIK'r to do something it just cannot do, or
  3664.           if an error condition arises, it will beep and display a brief
  3665.           message at the top of the screen.  To continue working, press any
  3666.           key on either the keyboard or the mouse.  Before trying the
  3667.           command again, try to fix whatever caused the error.  Below is an
  3668.           alphabetical list of MacroPIK'r's error messages with suggestions
  3669.           for what to do.
  3670.  
  3671.           Can't create file F
  3672.  
  3673.                This usually means there's not enough room on the disk to
  3674.                store file 'F', or there's something wrong with its name
  3675.                (spelling?).  It can also happen when DOS runs out of file
  3676.                handles -- it helps if CONFIG.SYS on your boot drive sets
  3677.                'FILES=' to at least 20.
  3678.  
  3679.           Can't DIVIDE the picked column -- Paste Area full
  3680.  
  3681.                Column ZZ contained one or more non-blank cells that would
  3682.                have been shifted off the right edge of the Paste Area when
  3683.                the Divide command was used.
  3684.  
  3685.           Can't find S
  3686.  
  3687.                The string 'S' being searched for with the Find command was
  3688.                not found; the cursor is returned to its original position.
  3689.  
  3690.           Can't get file F
  3691.  
  3692.                The file 'F' you asked for with one of the Input commands
  3693.                does not exist, or there were no files matching the wildcard
  3694.                specification.  You can find out what files are on a disk by
  3695.                using one of the Input commands with the DOS wildcard
  3696.  
  3697.  
  3698.  
  3699.                                                                     Page 62
  3700.  
  3701.           Chapter 7                                  MacroPIK'r User Manual
  3702.                                                          Errors & Questions
  3703.  
  3704.  
  3705.  
  3706.                characters "*" or "?" (as in the DOS "dir" command).  It can
  3707.                also happen when DOS runs out of file handles -- be sure
  3708.                CONFIG.SYS on your boot drive sets 'FILES=' to at least 20.
  3709.  
  3710.           Can't get page N
  3711.  
  3712.                The page asked for with the Page command is not a valid page
  3713.                number.
  3714.  
  3715.           Can't goto X Y
  3716.  
  3717.                One or both of the coordinates specified in the Goto command
  3718.                is invalid.  Check for a typing error; valid coordinates in
  3719.                the Report Area are from (1 1) to (2000 32767); in the Paste
  3720.                Area from (A 1) to (ZZ 9999).
  3721.  
  3722.           Can't insert -- cell is too wide
  3723.  
  3724.                The cell being edited with the Edit command already contains
  3725.                the maximum number of characters allowed by MacroPIK'r
  3726.                (2000).
  3727.  
  3728.           Can't INSERT -- too many columns
  3729.  
  3730.                You tried to move non-blank columns off the right edge of
  3731.                the Paste Area using the Insert command.  Try inserting
  3732.                fewer columns or save some of the Paste Area with one of the
  3733.                Output commands, then use the Delete command to make more
  3734.                room.
  3735.  
  3736.           Can't INSERT -- too many rows
  3737.  
  3738.                You tried to move non-blank rows off the bottom edge of the
  3739.                Paste Area using the Insert command.  Try inserting fewer
  3740.                rows or save some of the Paste Area with one of the Output
  3741.                commands, then use the Delete command to make more room.
  3742.  
  3743.           Can't open macro F
  3744.  
  3745.                Indicates a potentially serious problem with macro, or your
  3746.                disk.  While executing the macro file 'F', a macro file that
  3747.                previously existed was not found -- perhaps a nested macro
  3748.                deleted it.  It can also happen when DOS runs out of file
  3749.                handles -- it helps if CONFIG.SYS on your boot drive sets
  3750.                'FILES=' to at least 20.
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.                                                                     Page 63
  3757.  
  3758.           Chapter 7                                  MacroPIK'r User Manual
  3759.                                                          Errors & Questions
  3760.  
  3761.  
  3762.  
  3763.           Can't set page length to N
  3764.  
  3765.                The page length given to one of the Input commands is not a
  3766.                valid page length -- check the descriptions of the input
  3767.                commands for details.
  3768.  
  3769.           Can't write macro F -- file full
  3770.  
  3771.                Free disk space has been exhausted.  All commands since
  3772.                recording was turned on have been saved, but nothing more
  3773.                can be saved.  Try storing the macro file on another disk.
  3774.  
  3775.           Columns to MERGE are too wide
  3776.  
  3777.                The sum of the widths of the columns you asked MacroPIK'r to
  3778.                merge with the Merge command is greater than 2000
  3779.                characters.
  3780.  
  3781.           Conversion to NUMBERS needs a picked region
  3782.  
  3783.                The Number command requires a region of data to be picked
  3784.                before it is used.
  3785.  
  3786.           Conversion to TEXT needs a picked region
  3787.  
  3788.                The Text command requires a region of data to be picked
  3789.                before it is used.
  3790.  
  3791.           COPY 'to' region is beyond Paste Area boundary
  3792.  
  3793.                You used the Copy command in such a way that part of the
  3794.                destination is beyond the Paste Area boundaries (702 columns
  3795.                by 9999 rows).
  3796.  
  3797.           COPY needs a picked region
  3798.  
  3799.                The Copy command requires a region of data to be picked
  3800.                before it is used.
  3801.  
  3802.           DELETE needs a picked region
  3803.  
  3804.                The Delete command requires a region of data to be picked
  3805.                before it is used.
  3806.  
  3807.  
  3808.  
  3809.  
  3810.  
  3811.  
  3812.  
  3813.                                                                     Page 64
  3814.  
  3815.           Chapter 7                                  MacroPIK'r User Manual
  3816.                                                          Errors & Questions
  3817.  
  3818.  
  3819.  
  3820.           Disk file full
  3821.  
  3822.                Free disk space has been exhausted.  If the error occurred
  3823.                when you used one of the Output commands, try storing the
  3824.                output file to a disk on another drive with more free space
  3825.                (but do not remove the disk containing MacroPIK'r's
  3826.                temporary files -- usually the same disk MacroPIK'r was
  3827.                started from).  Also, see the discussion of the '-t' switch
  3828.                in the Technical Details section -- MacroPIK'r may have run
  3829.                out of room in one if its temporary files.
  3830.  
  3831.           DIVIDE needs a picked column
  3832.  
  3833.                The Divide command requires a column of data to be picked
  3834.                before it is used.
  3835.  
  3836.           EDIT needs a picked region
  3837.  
  3838.                The Edit command requires a region of data to be picked
  3839.                before it is used.
  3840.  
  3841.           F is not a valid DIF / SYLK / WKS / DBF file
  3842.  
  3843.                The file 'F' you attempted to display with one of the Input
  3844.                commands DIF, SYLK, WKS, or DBF does not contain a valid
  3845.                file header.
  3846.  
  3847.           File F not found
  3848.  
  3849.                The file 'F' highlighted in the directory listing created by
  3850.                one of the Input commands was not found.
  3851.  
  3852.           Inconsistent format -- U(S), E(uropean), M(etric):
  3853.  
  3854.                The Number command found numbers in the picked region using
  3855.                more than one type of format, or one of the numbers would
  3856.                have a different value depending on which format is used.
  3857.                Select a format by typing U, E or M.
  3858.  
  3859.           INSERT needs a picked region
  3860.  
  3861.                The Insert command requires a region of data to be picked
  3862.                before it is used.
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870.                                                                     Page 65
  3871.  
  3872.           Chapter 7                                  MacroPIK'r User Manual
  3873.                                                          Errors & Questions
  3874.  
  3875.  
  3876.  
  3877.           Macro F, N: file F2 not found
  3878.  
  3879.                While macro file 'F' was executing one of the Input commands
  3880.                at line 'N', file 'F2' could not be found on the disk.
  3881.  
  3882.           Macro F, N: command error
  3883.  
  3884.                An illegal command was encountered in macro file 'F', line
  3885.                'N'.
  3886.  
  3887.           Macro F, N: execution canceled
  3888.  
  3889.                An error has occurred during the execution of macro file
  3890.                'F', line 'N'; macro execution is stopped.  The error
  3891.                message displayed immediately prior to this should indicate
  3892.                the nature of the problem.
  3893.  
  3894.           Macro F, N: parameter error
  3895.  
  3896.                A parameter passed to a macro has exceeded the maximum
  3897.                number of characters allowed (approximately 250), or a
  3898.                parameter has been defined in terms of itself (for example
  3899.                passing "file^2" as parameter ^2).
  3900.  
  3901.           Macro F, N: range error
  3902.  
  3903.                One of the values specified as part of a command in macro
  3904.                file 'F', line 'N', is outside its valid range.
  3905.  
  3906.           Macro F, N: recursion error
  3907.  
  3908.                Macros are not allowed to execute themselves; they may,
  3909.                however, execute other macros.
  3910.  
  3911.           Macro F, N: sequence error
  3912.  
  3913.                The command in macro file 'F', line 'N' is not a valid
  3914.                command in this context (for example a Cut Sub-Menu command
  3915.                from the Input Sub-Menu).
  3916.  
  3917.           Macro F, N: syntax error
  3918.  
  3919.                The command in macro file 'F', line 'N' does not conform to
  3920.                its proper syntax.
  3921.  
  3922.  
  3923.  
  3924.  
  3925.  
  3926.  
  3927.                                                                     Page 66
  3928.  
  3929.           Chapter 7                                  MacroPIK'r User Manual
  3930.                                                          Errors & Questions
  3931.  
  3932.  
  3933.  
  3934.           Macro file F not found
  3935.  
  3936.                The macro file 'F' you have asked to execute does not exist.
  3937.                Also, there may not be enough DOS file handles.
  3938.  
  3939.           MacroPIK'r: can't create tmp file
  3940.  
  3941.                This message occurs on program start-up; it usually means
  3942.                there are too many files on your disk, or that there are not
  3943.                enough DOS file handles (check your CONFIG.SYS "FILES="
  3944.                command).
  3945.  
  3946.           MacroPIK'r: can't initialize virtual memory
  3947.  
  3948.                This message occurs on program start-up; it usually means
  3949.                there is not enough free space on the disk.  Use the DOS
  3950.                "dir" command to see how much free space is on the disk.
  3951.                MacroPIK'r will run (barely) with as little as 4096 bytes of
  3952.                free space on a disk; a recommended minimum would be at
  3953.                least 10K bytes, but the virtual memory file can grow to as
  3954.                much as 2M bytes.  It can also happen when DOS runs out of
  3955.                file handles -- it helps if CONFIG.SYS on your boot drive
  3956.                sets 'FILES=' to at least 20.
  3957.  
  3958.           MacroPIK'r: not enough memory
  3959.  
  3960.                This message occurs on program start-up.  See the error
  3961.                message "Memory full" for details.
  3962.  
  3963.           Memory full
  3964.  
  3965.                MacroPIK'r's internal work space is full.  (1) You may not
  3966.                have enough memory installed in your system.  Use the DOS
  3967.                "CHKDSK" command to see how much memory is available in your
  3968.                system for running programs; the last line displayed by
  3969.                chkdsk showing "N bytes free" will give a good indication of
  3970.                whether you have enough.  For MacroPIK'r, this number should
  3971.                be at least 256K bytes.  (2) You may also be out of free
  3972.                disk space for the virtual memory files.
  3973.  
  3974.           Memory full (Edt-F5 to exit, or Esc to undo EDIT)
  3975.  
  3976.                This message is displayed when the Edit command is being
  3977.                used and MacroPIK'r's internal work space becomes full.
  3978.                After pressing any key on the keyboard or mouse to erase
  3979.                this error message, press either Edt-F5 to save your editing
  3980.  
  3981.  
  3982.  
  3983.  
  3984.                                                                     Page 67
  3985.  
  3986.           Chapter 7                                  MacroPIK'r User Manual
  3987.                                                          Errors & Questions
  3988.  
  3989.  
  3990.  
  3991.                changes, or Esc to undo them.  See also the error message
  3992.                "Memory full" above.
  3993.  
  3994.           MERGE needs picked columns
  3995.  
  3996.                The Merge command requires two or more columns of data to be
  3997.                picked before it is used.
  3998.  
  3999.           MOVE needs a picked region
  4000.  
  4001.                The Move command requires a region of data to be picked
  4002.                before it is used.
  4003.  
  4004.           MOVE 'to' region is beyond Paste Area boundary
  4005.  
  4006.                You tried to move data in such a way that part or all of the
  4007.                destination is beyond the Paste Area boundaries (702 columns
  4008.                by 9999 rows).
  4009.  
  4010.           Out of memory for directory of F
  4011.  
  4012.                MacroPIK'r's internal workspace became full while reading a
  4013.                disk directory during one of the Input commands.  Try a more
  4014.                restricted wildcard name (e.g. "*.wks" instead of "*.*").
  4015.                See also the error message "Memory Full" above.
  4016.  
  4017.           OUTPUT needs a picked region
  4018.  
  4019.                The Output command requires a region of data to be picked
  4020.                before it is used.
  4021.  
  4022.           Page N is beyond end of file
  4023.  
  4024.                The page asked for with the Page command is past the end of
  4025.                the file.  MacroPIK'r gets the last page of the file
  4026.                instead.
  4027.  
  4028.           Part of DIF / SYLK / WKS file F is missing
  4029.  
  4030.                The file 'F' you attempted to display with one of the Input
  4031.                commands DIF, SYLK or WKS contained a valid header, but the
  4032.                file was damaged in some way.  See also the error message "F
  4033.                is not a valid DIF / SYLK / WKS file".
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040.  
  4041.                                                                     Page 68
  4042.  
  4043.           Chapter 7                                  MacroPIK'r User Manual
  4044.                                                          Errors & Questions
  4045.  
  4046.  
  4047.  
  4048.           Picked region to MERGE must be two or more columns
  4049.  
  4050.                Pick a column then adjust (stretch) it to the left or right
  4051.                to include two or more columns before using the Merge
  4052.                command.
  4053.  
  4054.           Press Edt-F5 to exit or [Esc] to undo EDIT first
  4055.  
  4056.                All other commands are "blocked" while you are using the
  4057.                Edit command.  To stop using the Edit command, press Edt-F5
  4058.                to save the changes you have made, or Esc to undo the
  4059.                changes you have made.
  4060.  
  4061.           Press [Esc] to undo directory first
  4062.  
  4063.                All other commands are "blocked" while a directory is being
  4064.                displayed by one of the Input commands.  You may either
  4065.                choose a new file to display by moving the cursor to its
  4066.                name in the directory display and pressing DO-IT, or return
  4067.                to the previous file being displayed by pressing Esc.
  4068.  
  4069.           Sorry, Help is not available
  4070.  
  4071.                MacroPIK'r could not find its Help file (mpik'r.hlp) or the
  4072.                Help file has been damaged in some way.  Use the DOS "dir"
  4073.                command to make sure the help file is in MacroPIK'r's home
  4074.                directory (the directory that you started mpik'r.exe from).
  4075.                If the help file is damaged in some way, get a fresh copy of
  4076.                the Help file from your backups or distribution files.
  4077.  
  4078.           Too many columns -- Paste Area full
  4079.  
  4080.                MacroPIK'r was unable to complete the Paste command because
  4081.                there are not enough empty columns in the Paste Area to
  4082.                accommodate the picked region.  Pick a smaller region (with
  4083.                fewer columns in it) or delete some columns from the Paste
  4084.                Area.
  4085.  
  4086.           Too many rows -- Paste Area full
  4087.  
  4088.                MacroPIK'r was unable to complete the Paste command because
  4089.                there are not enough empty rows in the Paste Area to
  4090.                accommodate the picked region.  Pick a smaller region (with
  4091.                fewer rows in it) or delete some rows from the Paste Area.
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.                                                                     Page 69
  4099.  
  4100.           Chapter 7                                  MacroPIK'r User Manual
  4101.                                                          Errors & Questions
  4102.  
  4103.  
  4104.  
  4105.           TRANSPOSE needs a MOVE or COPY first
  4106.  
  4107.                A Move or Copy command must be in progress before the
  4108.                Transpose command can be used.
  4109.  
  4110.  
  4111.           Common Questions
  4112.  
  4113.  
  4114.           This section covers many of the common questions people ask and
  4115.           has been gathered mostly from our customer support files.  If you
  4116.           have a question about MacroPIK'r, it may be answered here.
  4117.  
  4118.           Q   When I start MacroPIK'r the screen either goes blank or
  4119.               displays strange characters that don't make sense.  I have to
  4120.               either reboot the computer or turn it off then on again.
  4121.  
  4122.           A   You have probably used the wrong command switch or batch file
  4123.               to start MacroPIK'r.  Try '-bios', '-dos', or '-bw' (or files
  4124.               'mpikb.bat', 'mpikd.bat', or 'mpikbw.bat') for more
  4125.               compatible ways of accessing the display.  If none of these
  4126.               work, try using the "no-mouse" switch (-nm), since MacroPIK'r
  4127.               may erroneously think a mouse is present.
  4128.  
  4129.  
  4130.           Q   How can I see a directory of the files on my disk?
  4131.  
  4132.           A   Use one of the Input commands Flat, WKS, DIF, CSV, DBF, or
  4133.               SYLK.  At the file name prompt, type a file specification
  4134.               such as "a:*.doc" to display a directory.  Choose a file to
  4135.               display by moving the cursor to it and pressing DO-IT, or
  4136.               return to where you left off by pressing Esc.
  4137.  
  4138.  
  4139.           Q   I can't seem to "adjust" or "stretch" a picked region.
  4140.  
  4141.           A   Try turning off NumLock -- press the NumLock key.  This only
  4142.               happens if you are running MacroPIK'r with the "-dos" switch
  4143.               (for compatibility with non-IBM compatible DOS computers).
  4144.  
  4145.  
  4146.           Q   When I use the Column command, only the first 66 lines of the
  4147.               column are picked.  How can I pick a column for the whole
  4148.               file?
  4149.  
  4150.           A   You can pick a column for the whole file by setting the
  4151.               file's page length to the length of the entire input file.
  4152.  
  4153.  
  4154.  
  4155.                                                                     Page 70
  4156.  
  4157.           Chapter 7                                  MacroPIK'r User Manual
  4158.                                                          Errors & Questions
  4159.  
  4160.  
  4161.  
  4162.               To do this, use one of the Input commands, and at the page
  4163.               length prompt type 0.
  4164.  
  4165.  
  4166.           Q   Using the Paste command, my columns are split at the wrong
  4167.               places.  How can I tell MacroPIK'r where to place the column
  4168.               breaks?
  4169.  
  4170.           A   The horizontal line near the top of the screen in the Report
  4171.               Area is the "column markers" line.  Each marker represents
  4172.               the first character position of a column and can be toggled
  4173.               on and off by moving the cursor to the position to insert or
  4174.               delete a column marker and pressing DO-IT.
  4175.  
  4176.  
  4177.           Q   Using the Paste command, the "Too many rows/columns -- Paste
  4178.               Area full" message appeared even though there seemed to be
  4179.               plenty of room in the Paste Area.
  4180.  
  4181.           A   The Paste command adds the data you have picked in the Report
  4182.               Area to the right or below the existing data in the Paste
  4183.               Area.  Delete some rows or columns using the Del command,
  4184.               then try again.
  4185.  
  4186.  
  4187.           Q   After using one of the Input commands, strange characters
  4188.               appear on the screen that don't make sense.
  4189.  
  4190.           A   The file you are attempting to display is not in the proper
  4191.               format for the Input command you are using.  If you can use
  4192.               the DOS "type" or "print" command to display the file, you
  4193.               should use MacroPIK'r's Flat (input) command to display the
  4194.               file.  If the file is in one of the other formats supported
  4195.               by MacroPIK'r (WKS, DIF, CSV, DBF, or SYLK), use the
  4196.               corresponding (input) command.  Sometimes you will need to
  4197.               experiment.
  4198.  
  4199.  
  4200.           Q   I have a report containing numbers in metric [or European]
  4201.               format.  Will MacroPIK'r handle these properly?
  4202.  
  4203.           A   Yes.  Use the Num command to convert them into "clean"
  4204.               numbers before saving them with one of the output commands.
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.                                                                     Page 71
  4213.  
  4214.           Chapter 7                                  MacroPIK'r User Manual
  4215.                                                          Errors & Questions
  4216.  
  4217.  
  4218.  
  4219.           Q   Using the WKS (output) command, MacroPIK'r displayed the
  4220.               message "Can't create <file>".  [This can happen with any
  4221.               output command.]
  4222.  
  4223.           A   This can occur for two reasons: either you are trying to
  4224.               store too many files on a disk or DOS has run out of "file
  4225.               handles".  Check the amount of free space on the disk you are
  4226.               using with the DOS "dir" command, or use one of MacroPIK'r's
  4227.               input commands with a file name such as "a:*.*" to display a
  4228.               directory (and the amount of free space) on disk "a:".  Make
  4229.               sure you have enough DOS file handles allocated.  MacroPIK'r
  4230.               uses, at most, 5 file handles.  Certain "resident" programs
  4231.               (Prokey, for example) use up additional file handles.  Try
  4232.               including the line "FILES=20" in your CONFIG.SYS file (see
  4233.               your DOS manual for an explanation of the CONFIG.SYS file).
  4234.  
  4235.  
  4236.           Q   How do I use the macro facility?
  4237.  
  4238.           A   See the "Macros" section in this manual.  Also, if you are
  4239.               having difficulty with a macro command, try recording the
  4240.               command using MacroPIK'r's Record command (Ctrl-R), then
  4241.               study the macro file produced.
  4242.  
  4243.  
  4244.           Q   How can I take a file prepared for mailing labels -- each
  4245.               name and address takes six lines -- and get at the individual
  4246.               fields?
  4247.  
  4248.           A   Here is a "trick".  It will work for any sort of file of
  4249.               information formatted like addresses:
  4250.  
  4251.               First of all, input the file as a flat file with page length
  4252.               zero.  Remove any column markers that MacroPIK'r may try to
  4253.               insert.  Then select the whole thing and copy it to the Paste
  4254.               Area.  It should all be in one column.  Widen the column to
  4255.               some easy to remember number, such as 80.  Then output it as
  4256.               FIXED LENGTH, using a new name.  Now go back to the Report
  4257.               Area and input the new fixed length file with a record size
  4258.               of (say) 6*80 -- the number of lines per label times the
  4259.               field width of the new file.  You should now see each field
  4260.               in its own column.  Setup the column markers as you like, and
  4261.               proceed as with any other kind of file -- Paste the parts of
  4262.               it you want, edit/cleanup as necessary, and output in the
  4263.               format you need.
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.                                                                     Page 72
  4270.  
  4271.           Chapter 7                                  MacroPIK'r User Manual
  4272.                                                          Errors & Questions
  4273.  
  4274.  
  4275.  
  4276.               The only problem that may come up is with mailing labels that
  4277.               have the extra space squeezed out of the City/State/Zip line
  4278.               -- you'll have to deal with those some other way, depending
  4279.               on what your labels look like.
  4280.  
  4281.  
  4282.  
  4283.  
  4284.  
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.                                                                     Page 73
  4327.  
  4328.           Chapter 8                                  MacroPIK'r User Manual
  4329.                                                           Technical Details
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.                                       Chapter 8
  4340.  
  4341.                                   Technical Details
  4342.  
  4343.  
  4344.           This section can safely be skipped by the average user of
  4345.           MacroPIK'r.  It is included here primarily for the technically
  4346.           minded as an aid for "tuning" MacroPIK'r.  The following topics
  4347.           are covered here:
  4348.  
  4349.               o  Command Line Arguments
  4350.               o  Temporary Files, DOS, and File Handles
  4351.               o  Memory Usage
  4352.               o  File Names
  4353.               o  File Formats
  4354.               o  The Mouse
  4355.               o  Numbers and Text
  4356.  
  4357.  
  4358.           Command Line Arguments
  4359.  
  4360.  
  4361.           Included with MacroPIK'r are several "batch" files that you can
  4362.           use to tell MacroPIK'r a little bit about the computer you are
  4363.           using, for instance, whether it has color or black and white
  4364.           hardware.  Together these batch files cover just about any
  4365.           combination of hardware elements in your PC.
  4366.  
  4367.           If, however, you choose not to use one of these batch files to
  4368.           start MacroPIK'r, or none of them seems to fit your computer
  4369.           system, you can create your own batch file.  To do so you will
  4370.           need to use an editor, for instance the "edlin" or "edit" editors
  4371.           that comes with DOS, to create a file with a name that ends with
  4372.           ".bat", like "pikx.bat".  Once created, you can then run
  4373.           MacroPIK'r by typing "pikx".
  4374.  
  4375.           This batch file should contain a command line for MacroPIK'r,
  4376.           though it may have other DOS command lines in as well.  A
  4377.           MacroPIK'r command line has up to four parts: the program name
  4378.           "mpik'r", optionally followed by a series of "flags" (the flags
  4379.           all start with a dash), optionally followed by the name of a file
  4380.  
  4381.  
  4382.  
  4383.                                                                     Page 74
  4384.  
  4385.           Chapter 8                                  MacroPIK'r User Manual
  4386.                                                           Technical Details
  4387.  
  4388.  
  4389.  
  4390.           to display when MacroPIK'r starts (hint: use a DOS parameter like
  4391.           '%1'), optionally followed by an "@" sign and a macro name with
  4392.           optional parameters.
  4393.  
  4394.           You have three choices of "video type" flags...
  4395.  
  4396.               -mono         use monochrome color scheme
  4397.               -color        use colors
  4398.               -bw           use monochrome color scheme for color display
  4399.                             adapter with a black & white monitor
  4400.  
  4401.               ...and three choices of "access method" flags:
  4402.  
  4403.               -hdwr         access video hardware directly (fastest)
  4404.               -bios         "BIOS" to access the hardware (a little slower)
  4405.               -dos          "DOS" to access the BIOS (slower still)
  4406.  
  4407.               ...and, finally, several miscellaneous flags:
  4408.  
  4409.               -h H          use file "H" as help file
  4410.               -t D          use the directory path "D" for temporary files
  4411.               -nm           do NOT look for a mouse
  4412.               -plN          use page length 'N' for the input file
  4413.               -flt F        display the Flat file 'F'
  4414.               -wks F        display the WKS file 'F'
  4415.               -dif F        display the DIF file 'F'
  4416.               -csvC F       display the CSV file 'F', delimiter character
  4417.                             'C' (default is comma)
  4418.               -slk F        display the SYLK file 'F'
  4419.               -fxlN F       display the Fixed-Length record file 'F' with
  4420.                             record length 'N'
  4421.  
  4422.           Unless you tell it otherwise with the "video type" flags,
  4423.           MacroPIK'r will try to determine the color capabilities of your
  4424.           computer by examining memory.  If your computer tells MacroPIK'r
  4425.           that it has color, MacroPIK'r will assume that's true and display
  4426.           its screens in color.  However, many people have mono displays on
  4427.           color adapters (e.g.: most laptops, many generic VGA equipped
  4428.           clones).  In cases where a monochrome monitor is attached to a
  4429.           color adapter you can get a display that is hard to read.  Use
  4430.           the "-mono" video type flag to force MacroPIK'r to display in
  4431.           monochrome -- use one of the other two flags if you have a color
  4432.           display adapter card in your PC and MacroPIK'r's built-in
  4433.           checking doesn't work (as when the -bios or -dos flags are used).
  4434.           The "-bw" is especially useful for a black-and-white video
  4435.           monitor on a CGA adapter.
  4436.  
  4437.  
  4438.  
  4439.  
  4440.                                                                     Page 75
  4441.  
  4442.           Chapter 8                                  MacroPIK'r User Manual
  4443.                                                           Technical Details
  4444.  
  4445.  
  4446.  
  4447.           The "-bios" and "-dos" access method flags produce screen display
  4448.           that is somewhat slower than with the "-hdwr" flag, but are
  4449.           useful for computer systems that are not completely hardware
  4450.           compatible with the IBM-PC.  If you omit this flag, MacroPIK'r
  4451.           will access the display using the BIOS.  The "-dos" flag assumes
  4452.           you have "DEVICE=ANSI.SYS" in your CONFIG.SYS file.
  4453.  
  4454.           The "-h" flag is useful if the disk you use to keep the help file
  4455.           on is in a different directory than where mpik'r.exe is.
  4456.           MacroPIK'r will use the disk drive, directory, and file name you
  4457.           specify by the "H" following the flag (e.g. b:mpik'r.hlp) when
  4458.           looking for its help file.  If you omit this flag, MacroPIK'r
  4459.           will assume the help file is named "mpik'r.hlp" and is in the
  4460.           same disk drive and directory as MacroPIK'r was started from.
  4461.           (Actually, MacroPIK'r will also look in the default directory and
  4462.           then through all the directories in your PATH, if you have one.)
  4463.  
  4464.           The "-t" flag is useful when disk space is running low, or when
  4465.           you want more performance.  MacroPIK'r will use the disk drive
  4466.           and directory path you specify by "D" for its temporary files;
  4467.           for example, you can have MacroPIK'r put its temporary files on a
  4468.           virtual disk.  If you omit this flag, MacroPIK'r will use the
  4469.           default disk drive and directory for its temporary files.  If you
  4470.           normally use MacroPIK'r to convert files on floppies, and have
  4471.           that as your default, you will benefit greatly by using the -t
  4472.           switch specifying a hard disk.  See the next section for a
  4473.           discussion.
  4474.  
  4475.           If you omit a file name on the command line, you can use the
  4476.           Input command to display a file after MacroPIK'r has started.
  4477.  
  4478.           By way of example, here is a command line to run MacroPIK'r with
  4479.           direct hardware access, on a monochrome system, with temporary
  4480.           files on disk drive C:'s root directory, using the flat file
  4481.           "Q4SALES.DAT" on drive 'A' (defaulting to 66 line pages):
  4482.  
  4483.                mpik'r -hdwr -mono -t c: a:q4sales.dat
  4484.  
  4485.           This command line, from a Batch File, will run MacroPIK'r with
  4486.           the same flags as above, but with a parameterized file name and
  4487.           an optional flag:
  4488.  
  4489.                mpik'r -hdwr -mono -t c: %2 %1
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.                                                                     Page 76
  4498.  
  4499.           Chapter 8                                  MacroPIK'r User Manual
  4500.                                                           Technical Details
  4501.  
  4502.  
  4503.  
  4504.           Temporary Files, DOS, and File Handles
  4505.  
  4506.  
  4507.           MacroPIK'r creates two temporary files to reduce the amount of
  4508.           main memory it uses.  The files are named:
  4509.  
  4510.                MPIK.TMP
  4511.                VMEM.TMP
  4512.  
  4513.           They are removed when MacroPIK'r exits.  If you abnormally
  4514.           stopped MacroPIK'r by rebooting or turning off the power, these
  4515.           files will be left around, taking up space.  (MacroPIK'r will
  4516.           automatically delete them the next time it runs in the same
  4517.           context, or you can delete them yourself if you wish.)
  4518.  
  4519.           If MacroPIK'r runs out of disk space while writing to either of
  4520.           these files, it will display an error message and the command
  4521.           that caused the error will not complete.  Try using the "-t" flag
  4522.           described in the section above to put the temporary files on a
  4523.           disk with more space, or install MacroPIK'r on a disk with more
  4524.           room, or delete unnecessary files to make more room.  It can use
  4525.           up to 2M bytes.
  4526.  
  4527.           Normally, MacroPIK'r uses five file handles, plus the three that
  4528.           DOS allocates for console i/o.  Nested Macros will use more, one
  4529.           per level of nesting.  Also take into account that TSR utilities
  4530.           may also keep file handles for themselves.  Be sure your
  4531.           CONFIG.SYS has a "FILES=" line in it that is at least 20.
  4532.  
  4533.  
  4534.           Memory Usage
  4535.  
  4536.  
  4537.           While MacroPIK'r will run in a 256k system, it will benefit from
  4538.           any extra it has access to, up to a full 640k.  It will NOT
  4539.           directly use extended or expanded memory.
  4540.  
  4541.           MacroPIK'r itself, and its data, use up around 200k bytes.  The
  4542.           rest (up to 640k) is used to buffer information from the
  4543.           temporary VMEM file for "Virtual Memory".  This file will expand
  4544.           as you store more data in the Paste Area, up to a maximum of 2
  4545.           megs.  Since indexes are also stored there, you can have up to
  4546.           slightly less than 2 megs in the Paste Area at once.  Many narrow
  4547.           columns will use up memory faster than a few wide ones since
  4548.           there is an overhead per cell of about 6 bytes.
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.                                                                     Page 77
  4555.  
  4556.           Chapter 8                                  MacroPIK'r User Manual
  4557.                                                           Technical Details
  4558.  
  4559.  
  4560.  
  4561.           File Names
  4562.  
  4563.  
  4564.           File names can be any file name acceptable to DOS, including disk
  4565.           drive, directory path names and the file name itself (e.g.
  4566.           "f:\report\sales.dat").  This is for input, output, temporary
  4567.           files, the help file (if you rename it), and macro file names.
  4568.  
  4569.  
  4570.           File Formats
  4571.  
  4572.  
  4573.           Flat
  4574.  
  4575.           Input: When the Flat (input) command is used to display a Flat
  4576.           (standard ASCII) file, MacroPIK'r makes very few assumptions
  4577.           about the file's contents.  That is, it does very little
  4578.           "filtering", or make other changes that would change how the file
  4579.           looks.
  4580.  
  4581.           It does, however, assume that lines are terminated with some sort
  4582.           of carriage-return and/or linefeed combination and that pages are
  4583.           delimited by a formfeed (or the number of lines specified by you
  4584.           in the Flat (input) command).  If the page length is set to 0,
  4585.           there are no "pages" as such, but MacroPIK'r marks each formfeed
  4586.           in the file with a horizontal line of dots.  Tab characters are
  4587.           replaced by spaces with tab stops every eight columns.  The
  4588.           maximum line length is 2,000 characters.
  4589.  
  4590.           Output: When the Flat (output) command is used, MacroPIK'r
  4591.           creates a Flat (standard ASCII) file containing the data in the
  4592.           picked region in the Paste Area.  This file contains one line for
  4593.           each row in the picked region with a space between each cell.
  4594.           Except that leading and trailing quotes (") are removed, each
  4595.           cell is saved exactly as it looks in the Paste Area.  The maximum
  4596.           size of any one cell is 2,000 characters.
  4597.  
  4598.           A carriage-return/line-feed pair is written at the end of each
  4599.           row, including the last.
  4600.  
  4601.           WKS
  4602.  
  4603.           Input: Files in the WKS (Lotus worksheet) format contain three
  4604.           distinct types of data: values (numbers and labels), formulas
  4605.           (calculations upon values) and formats (how values are
  4606.           displayed).  MacroPIK'r supports a subset of this file format
  4607.           that deals with values only.  Thus, when the Wks (input) command
  4608.  
  4609.  
  4610.  
  4611.                                                                     Page 78
  4612.  
  4613.           Chapter 8                                  MacroPIK'r User Manual
  4614.                                                           Technical Details
  4615.  
  4616.  
  4617.  
  4618.           is used to display a WKS file, MacroPIK'r displays only the
  4619.           VALUES in the file.  The main restriction imposed by this method
  4620.           is that when a cell contains a formula, the formula's value is
  4621.           displayed, not the formula itself.
  4622.  
  4623.           MacroPIK'r supports all Lotus Worksheet numeric display formats
  4624.           (for all versions of 1-2-3 and Symphony) except HIDDEN and TEXT
  4625.           which are interpreted as follows:  The HIDDEN format is for
  4626.           hiding cells in the worksheet so that they don't appear in the
  4627.           display -- these cells WILL appear in MacroPIK'r.  The TEXT
  4628.           format displays formulas as they were entered, instead of as
  4629.           their value -- MacroPIK'r always displays the formula's value.
  4630.  
  4631.           Keep in mind that if you can see a cell's value, even if it's not
  4632.           displayed quite the same as in your worksheet, MacroPIK'r will
  4633.           convert the value you see without any difficulty.
  4634.  
  4635.           Output: When the Wks (output) command is used, MacroPIK'r creates
  4636.           a WKS (or WRK, WK1, WR1) file containing the data in the picked
  4637.           region in the Paste Area.  The file extension you type is used by
  4638.           MacroPIK'r to create the exact format required.
  4639.  
  4640.           MacroPIK'r looks at each cell in the picked region to determine
  4641.           which of the following formats should be saved along with the
  4642.           cell's value: FIXED, SCIENTIFIC, CURRENCY, PERCENT, COMMA
  4643.           (PUNCTUATED) or TEXT (LITERAL).  If a number adheres to the U.S.
  4644.           convention of (optionally) using a comma (,) as the thousands
  4645.           separator and a dot (.) as the decimal point, the cell is saved
  4646.           using one of the numeric formats above; otherwise it is saved as
  4647.           a left-aligned label.  If you are dealing with data that uses the
  4648.           European or Metric numeric format conventions, see the discussion
  4649.           of the Number command (page 36).  In addition, the width of each
  4650.           column is saved so that each column, as viewed from 1-2-3 or
  4651.           Symphony, will have the same width as in the Paste Area.  The
  4652.           maximum size of any one cell is 2,000 characters.  (1-2-3 and
  4653.           Symphony, however, impose a maximum label length of 240
  4654.           characters.  MacroPIK'r makes no attempt to shorten or otherwise
  4655.           warn you that a cell is longer than this.)
  4656.  
  4657.           MacroPIK'r does not support the conversion of formatted (human
  4658.           readable) dates and times to their serial and fractional numeric
  4659.           worksheet representations with the WKS (output) command.
  4660.           Instead, dates and times are saved as labels in the worksheet
  4661.           file which can then be converted to their numeric equivalents if
  4662.           need be with either Symphony or 1-2-3 Release 2.  If you are
  4663.           using Symphony, the Query Parse command will perform this
  4664.           conversion.  In 1-2-3 Release 2, use the /Data Parse command.
  4665.  
  4666.  
  4667.  
  4668.                                                                     Page 79
  4669.  
  4670.           Chapter 8                                  MacroPIK'r User Manual
  4671.                                                           Technical Details
  4672.  
  4673.  
  4674.  
  4675.           DIF
  4676.  
  4677.           Note that this is the original "Data Interchange Format" used by
  4678.           Visicalc, and adopted by many programs since then.  It is not the
  4679.           "Navy DIF" format used for word processing in the military.
  4680.  
  4681.           Input: When the Dif (input) command is used to display a DIF
  4682.           file, MacroPIK'r assumes that the data in the file is in row
  4683.           order: all the cells in the first row come first, then the second
  4684.           and so on.  The width of each column is taken to be the width of
  4685.           the widest cell (plus one) in that column; the smallest column
  4686.           width is 9 characters.  All labels are displayed left-justified;
  4687.           numbers are right-justified.  The string values NA, ERROR, TRUE
  4688.           and FALSE are not supported (0 is displayed instead for NA, ERROR
  4689.           and FALSE; 1 is displayed for TRUE).  Vector labels are not
  4690.           supported.  The maximum line length is 2,000 characters.
  4691.  
  4692.           Output: When the Dif (output) command is used, MacroPIK'r creates
  4693.           a DIF file containing the data in the picked region in the Paste
  4694.           Area.  The cells in the picked region are saved in row order: all
  4695.           the cells in the first row are saved first, then the second and
  4696.           so on.  Leading and trailing spaces and all quotes (") are
  4697.           removed from labels.  The maximum size of any one cell is 2,000
  4698.           characters.
  4699.  
  4700.           CSV
  4701.  
  4702.           Input: When the Csv (input) command is used to display a CSV
  4703.           (Comma Separated Values, Delimited) format file, MacroPIK'r
  4704.           assumes the data in the file is in row order: all the cells in
  4705.           the first row come first, then the second and so on.  The width
  4706.           of each column is taken to be the width of the widest cell (plus
  4707.           one) in that column; the smallest column width is 9 characters.
  4708.           Labels must be delimited by either the single quote (') or double
  4709.           quote (") character.  All labels are displayed left-justified;
  4710.           numbers are right-justified.  The maximum line length is 2,000
  4711.           characters.  The delimiter characters separate columns, except
  4712.           they are ignored inside a quoted label.  Lines are separated by
  4713.           some sort of carriage-return and/or line-feed combination.
  4714.  
  4715.           Output: When the Csv (output) command is used, MacroPIK'r creates
  4716.           a CSV file containing the data in the picked region in the Paste
  4717.           Area.  The cells in the picked region are saved in row order: all
  4718.           the cells in the first row are saved first, then the second and
  4719.           so on.  Leading and trailing spaces and all double quotes (") are
  4720.           removed from labels before output, then the labels are delimited
  4721.  
  4722.  
  4723.  
  4724.  
  4725.                                                                     Page 80
  4726.  
  4727.           Chapter 8                                  MacroPIK'r User Manual
  4728.                                                           Technical Details
  4729.  
  4730.  
  4731.  
  4732.           by the double quote (") character.  The maximum size of any one
  4733.           cell is 2,000 characters.
  4734.  
  4735.           SYLK
  4736.  
  4737.           Input: When the Slk (input) command is used to display a SYLK
  4738.           (SYmbolic LinK) format file, MacroPIK'r uses the width of the
  4739.           widest cell (plus one) in each column as the width of that
  4740.           column; the smallest column width is 9 characters.  Similar to
  4741.           the WKS format (see above), formula values are displayed instead
  4742.           of the formula itself.  All labels are displayed left-justified;
  4743.           numbers are right-justified.  Cell formats, error and logical
  4744.           values are not supported.  The maximum line length is 2,000
  4745.           characters.
  4746.  
  4747.           Output: When the Slk (output) command is used, MacroPIK'r creates
  4748.           a SYLK file containing the data in the picked region in the Paste
  4749.           Area.  Leading and trailing spaces and all quotes (") are removed
  4750.           from labels.  The maximum size of any one cell is 2,000
  4751.           characters.
  4752.  
  4753.           dBASE
  4754.  
  4755.           Input: When you display a dBASE file in the Report Area, the
  4756.           dBASE field names are displayed as the first row.  The data in
  4757.           each column is displayed appropriately for the type of that
  4758.           field.  If you copy the data into the Paste Area, be sure to
  4759.           exclude the first row (unless you need it).
  4760.  
  4761.           Output: When a DBF file is created (either for the first time or
  4762.           with the "C" option) the width of each column in the picked
  4763.           region determines the size of the corresponding field in the DBF
  4764.           file (see also the "Setting Column Widths in the Paste Area"
  4765.           section).  MacroPIK'r determines the data types of the fields
  4766.           (character, numeric, logical or date) by looking at the data in
  4767.           the first row of the picked region: If a cell contains the single
  4768.           letter Y, y, N, n, T, t, F or f, the field's type is logical.  If
  4769.           a cell contains a date in the form MM/DD/YY (for example,
  4770.           10/22/86), and you specified a dBASE III/dBASE IV file, the
  4771.           field's type is date.  (The date type is not supported in dBASE
  4772.           II.)  If a cell contains a "clean" number, the field's type is
  4773.           numeric.  Otherwise, the field's type is character.  A field may
  4774.           be forced to the character type by surrounding a cell's contents
  4775.           with quotes with the Text command; similarly, the Number command
  4776.           will clean up "dirty" numbers.
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.                                                                     Page 81
  4783.  
  4784.           Chapter 8                                  MacroPIK'r User Manual
  4785.                                                           Technical Details
  4786.  
  4787.  
  4788.  
  4789.           When new data is either appended to or replaces data in a DBF
  4790.           file (without altering the structure of the existing file) the
  4791.           new data is made to "conform" to that structure by padding to the
  4792.           right if necessary with blanks, or truncating the data to fit
  4793.           into the structure.  An error message is displayed if MacroPIK'r
  4794.           had to truncate any data, but the command is completed in case
  4795.           this was the intended effect.
  4796.  
  4797.           Fixed Length
  4798.  
  4799.           Input: No carriage-return/line-feed line termination is assumed.
  4800.           MacroPIK'r will strictly apply the record length you specify.  If
  4801.           you don't know the record length, you can experiment: Start with
  4802.           a guess and look at the screen.  If the information looks like
  4803.           diagonal stripes going up to the right (///) try a slightly
  4804.           smaller number.  If you see diagonal stripes going down to the
  4805.           left (\\\) try a slightly larger number.  Commonly record lengths
  4806.           tend to be the same size as printed reports: 80, 128, 132, ...
  4807.           MacroPIK'r can handle anything up to 2000 characters per record.
  4808.  
  4809.           Once you get the record length, MacroPIK'r will try to determine
  4810.           the column markers, based on any blank spaces in the records.
  4811.           You will probably need to adjust them.
  4812.  
  4813.           Output: The data in the picked region determines the record
  4814.           length -- the cell content is output as you see it, with no added
  4815.           information between cells or lines.  You can specify a record
  4816.           length on output to override the width of the picked region.  If
  4817.           the specified length is less, the record is truncated on the
  4818.           right.  If it is greater, the record is padded with spaces on the
  4819.           right.
  4820.  
  4821.  
  4822.           The Mouse
  4823.  
  4824.  
  4825.           MacroPIK'r is compatible with nearly all PC mice, including mice
  4826.           from Logitech, Mouse Systems, and Microsoft.  When MacroPIK'r
  4827.           starts, it checks to see whether a mouse driver is installed in
  4828.           your computer and, if so, it will try to use the mouse (in
  4829.           addition to the keyboard) to allow cursor movement and provide
  4830.           other commands.  You can disable the mouse checking with the -nm
  4831.           command line flag (see above); you might need to do this if
  4832.           something other than a mouse driver uses INT 33 (the Microsoft
  4833.           standard is that programs communicate with a mouse through
  4834.           INT 33; if something else uses it, a "mouse-aware" program can be
  4835.           fooled and issue calls that can crash the computer).
  4836.  
  4837.  
  4838.  
  4839.                                                                     Page 82
  4840.  
  4841.           Chapter 8                                  MacroPIK'r User Manual
  4842.                                                           Technical Details
  4843.  
  4844.  
  4845.  
  4846.           Numbers and Text
  4847.  
  4848.  
  4849.           When MacroPIK'r outputs data in one of the structured formats, it
  4850.           needs to specify whether the cell is a numeric or text item.  It
  4851.           examines the cell contents and uses these rules:
  4852.  
  4853.           Any cell with quotes around it is saved as a label, regardless of
  4854.           its content, while any cell without quotes around it is saved as
  4855.           a number if it "looks like" a number, otherwise it is output as a
  4856.           label.  A cell looks like a number if it contains only digits and
  4857.           possibly a decimal point or minus sign (numbers in "scientific
  4858.           notation" are OK too).  That is, any number with dollar signs
  4859.           ($), commas (,) and other punctuation will be output as a label
  4860.           -- only "clean" numbers will be output as numbers unless the
  4861.           Number command is used to explicitly make the numeric conversion.
  4862.  
  4863.           These are the rules PIK'r applies to each cell during the Number
  4864.           command conversion:
  4865.  
  4866.           Dollar signs ($) and other non-numeric characters are deleted
  4867.           from the beginning and end of the cell.  If there are any decimal
  4868.           digits (0-9) left, the cell is considered to be a number as long
  4869.           as embedded commas (,) and decimal points (.) follow certain
  4870.           rules.  That is, the U.S. convention of separating thousands with
  4871.           a comma (,) and using a period (.) as a decimal point is valid.
  4872.           As an option, MacroPIK'r can also follow the European convention
  4873.           whereby the role of the comma and period are reversed.  In
  4874.           addition, the number is negative if there is a leading (or
  4875.           trailing) minus sign (-), or if the number is enclosed in
  4876.           parentheses, or if the number has the letters "CR" (or "cr")
  4877.           after it.  Numbers in proper "scientific notation", for example,
  4878.           "6.63E-34" or "3.00e+08", are also supported.  If the cell
  4879.           satisfies these rules, it is converted to a "clean" number:
  4880.           leading dollar signs, embedded commas, parentheses, "CR"'s, etc.,
  4881.           are removed.  Otherwise, the cell becomes zero (0).  Notice that
  4882.           empty cells become numeric 0's.
  4883.  
  4884.           Warning: combinations of parentheses, minus signs, and "CR" will
  4885.           produce a negative number if the SUM of the combinations is ODD.
  4886.           That is, 4.95 CR or (4.95) equals -4.95, (4.95 CR) equals +4.95,
  4887.           while (-4.95 CR) equals -4.95.
  4888.  
  4889.           Use the Text command when you want to convert part or all of the
  4890.           Paste Area to labels (text).
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.                                                                     Page 83
  4897.  
  4898.           Chapter 8                                  MacroPIK'r User Manual
  4899.                                                           Technical Details
  4900.  
  4901.  
  4902.  
  4903.           The data in the picked region is converted to labels (text) by
  4904.           surrounding each cell with quote marks (").  This becomes
  4905.           significant when the Paste Area is saved with one of the Output
  4906.           commands; any cell with quotes around it is saved as a label
  4907.           (text), regardless of its content, while any cell without quotes
  4908.           around it is saved as a number if it "looks like" a number --
  4909.           otherwise it is saved as a label.
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.                                                                     Page 84
  4954.  
  4955.           Chapter 9                                  MacroPIK'r User Manual
  4956.                                                 License, Warranty & Support
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962.  
  4963.  
  4964.  
  4965.  
  4966.                                       Chapter 9
  4967.  
  4968.                              License, Warranty & Support
  4969.  
  4970.  
  4971.           License
  4972.  
  4973.  
  4974.           MacroPIK'r(tm) is "shareware".  It is not in the public domain,
  4975.           nor is it free.
  4976.  
  4977.           MacroPIK'r is Copyright 1985 1986 1992 1993 by Samkhya.
  4978.           "MacroPIK'r" is a registered trademark.
  4979.  
  4980.           You must treat this software just like a book.  An example is
  4981.           that this software may be used by any number of people and may be
  4982.           freely moved from one computer location to another, so long as
  4983.           there is no possibility of it being used at one location while
  4984.           it's being used at another -- just as a book cannot be read by
  4985.           two different people at the same time.
  4986.  
  4987.           MacroPIK'r is provided to you under the terms of this license.
  4988.           You may use MacroPIK'r on a trial basis, to determine whether it
  4989.           meets your needs.  You are not permitted to use MacroPIK'r beyond
  4990.           this trial, unless you register.
  4991.  
  4992.           To register, fill out the Order Form (file "MP-ORDER.FRM", also
  4993.           as an appendix in this Manual) and send it to Samkhya along with
  4994.           the registration fee, in US funds.
  4995.  
  4996.           You assume responsibility for the selection of software to
  4997.           achieve your intended results, and for the installation, use and
  4998.           results obtained from the program.
  4999.  
  5000.           You may not modify the MacroPIK'r program itself, nor may you
  5001.           disassemble it or reverse engineer it.  (Source code licenses,
  5002.           consulting, and technology transfer services are available should
  5003.           you need to modify the program's function.)
  5004.  
  5005.           You may make copies for others to use on a trial basis, subject
  5006.           to the terms of this license, provided that all of the files that
  5007.  
  5008.  
  5009.  
  5010.                                                                     Page 85
  5011.  
  5012.           Chapter 9                                  MacroPIK'r User Manual
  5013.                                                 License, Warranty & Support
  5014.  
  5015.  
  5016.  
  5017.           are provided with MacroPIK'r are also included, including this
  5018.           license, and that you do not charge others -- beyond a reasonable
  5019.           media and handling fee -- for providing them with the copy of
  5020.           MacroPIK'r.  (Please see the files VENDOR.DOC or SYSOP.DOC for
  5021.           more information if you are in the business of distributing
  5022.           shareware.)
  5023.  
  5024.           This agreement shall be governed by the laws of the State of
  5025.           California and shall inure to the benefit of Samkhya and any
  5026.           successors, administrators, heirs and assigns.  Any action or
  5027.           proceeding brought by either party against the other arising out
  5028.           of or related to this agreement shall be brought only in a State
  5029.           or Federal Court of competent jurisdiction located in Marin
  5030.           County, California.  The parties hereby consent to in personam
  5031.           jurisdiction of said courts.
  5032.  
  5033.  
  5034.           Warranty
  5035.  
  5036.  
  5037.           Disclaimer
  5038.  
  5039.                This software and manual are sold "as is" and without
  5040.                warranties as to performance of merchantability or any
  5041.                other warranties whether expressed or implied.  Because
  5042.                of the various hardware and software environments into
  5043.                which this program may be put, no warranty of fitness
  5044.                for a particular purpose is offered.  Good data
  5045.                processing procedure dictates that any program be
  5046.                thoroughly tested with noncritical data before relying
  5047.                on it.  The user must assume the entire risk of using
  5048.                the program.  Any liability of the seller will be
  5049.                limited exclusively to product replacement or refund of
  5050.                purchase price.
  5051.  
  5052.           Guarantee
  5053.  
  5054.           Samkhya will replace any defective media or manual (that Samkhya
  5055.           produced) within one year of purchase.  You must first contact us
  5056.           for return authorization and instructions, then send the
  5057.           defective item(s).  After examining the item(s) we will replace
  5058.           it (them), at no charge to you.
  5059.  
  5060.           If you obtained MacroPIK'r from a different vendor, please
  5061.           contact them for replacement of defective media, or if you have
  5062.           not already done so, you can register and receive the latest
  5063.           version directly from us.
  5064.  
  5065.  
  5066.  
  5067.                                                                     Page 86
  5068.  
  5069.           Chapter 9                                  MacroPIK'r User Manual
  5070.                                                 License, Warranty & Support
  5071.  
  5072.  
  5073.  
  5074.           Samkhya also offers a 30 day money-back guarantee on MacroPIK'r,
  5075.           in case you obtained it by direct purchase instead of shareware.
  5076.           If you are not satisfied with the product you should contact
  5077.           Samkhya within 30 days of registration (or purchase) for
  5078.           instructions on how to return the product and obtain a refund.
  5079.  
  5080.  
  5081.           Support
  5082.  
  5083.  
  5084.           Samkhya will provide one year of free support to any registered
  5085.           user, including up to one hour of free telephone support, and
  5086.           unlimited support by correspondence (mail, e-mail, fax).  After
  5087.           the one hour of telephone support, you may obtain additional
  5088.           support for a fee (currently $60/hour).  When you purchase an
  5089.           upgrade, you are eligible for an additional year of support.
  5090.  
  5091.           "Support" means assisting you in resolving difficulties in using
  5092.           the program, and fixing "bugs".  If a bug is discovered that
  5093.           impairs your ability to benefit from using the program, we will
  5094.           try to reproduce it, then fix it.  If we are unable to fix the
  5095.           bug, we will offer to refund your registration fee.
  5096.  
  5097.           You can reach Samkhya during normal business hours of 9-5, M-F,
  5098.           Pacific Time.  We have an answering machine on at all other times
  5099.           (or when no one is available to take calls) -- please leave a
  5100.           CLEAR message about how and when to reach you, and what sort of
  5101.           help or information you need.  You may send us a facsimile at any
  5102.           time:
  5103.  
  5104.                707-878-2914 voice
  5105.                707-878-2802 fax
  5106.                71016,460 Compuserve
  5107.  
  5108.           Lastly, please look at the "feedback" questionnaire that is part
  5109.           of the order form.  It is a good way to let us know what sorts of
  5110.           improvements you'd like to see.
  5111.  
  5112.           If MacroPIK'r is no longer supported at the time you send in your
  5113.           registration, your payment will be returned.
  5114.  
  5115.  
  5116.           Upgrades
  5117.  
  5118.  
  5119.           From time to time (usually about once a year) we will upgrade
  5120.           MacroPIK'r.  As a registered user, you are entitled to purchase
  5121.  
  5122.  
  5123.  
  5124.                                                                     Page 87
  5125.  
  5126.           Chapter 9                                  MacroPIK'r User Manual
  5127.                                                 License, Warranty & Support
  5128.  
  5129.  
  5130.  
  5131.           upgrades at a substantial discount from the regular registration
  5132.           fee.  In any case, you will always receive any major upgrade that
  5133.           comes out during the one year after your registration, at no
  5134.           charge.
  5135.  
  5136.           Please let us know if there is some feature or change you'd like
  5137.           to see in MacroPIK'r.  That way the upgrades are more relevant to
  5138.           YOUR needs.
  5139.  
  5140.           If you are using a version that is more than two or three years
  5141.           old, you should probably upgrade (or register!) to receive the
  5142.           benefits of whatever new features have been added, or bugs that
  5143.           have been fixed.
  5144.  
  5145.           We will keep you on our mailing list for three years from the
  5146.           time we last hear from you.  We will send cards advising of the
  5147.           availability of upgrades to everyone on this list.  Note that
  5148.           since mail forwarding expires much more quickly than this, you
  5149.           should keep us advised of your address if you move.
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169.  
  5170.  
  5171.  
  5172.  
  5173.  
  5174.  
  5175.  
  5176.  
  5177.  
  5178.  
  5179.  
  5180.  
  5181.                                                                     Page 88
  5182.  
  5183.           Chapter 10                                 MacroPIK'r User Manual
  5184.                                                                  Order Form
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192.  
  5193.  
  5194.                                      Chapter 10
  5195.  
  5196.                                      Order Form
  5197.  
  5198.  
  5199.           The following page is a copy of the Order Form you should use for
  5200.           registering your copy of MacroPIK'r.  It is identical to the file
  5201.           "MP-ORDER.FRM" which is included with MacroPIK'r.  You may print
  5202.           that file out and use it, or photocopy the following page:
  5203.  
  5204.  
  5205.  
  5206.  
  5207.  
  5208.  
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.                                                                     Page 89
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245.           ID: M15B930690014                MacroPIK'r ORDER FORM // INVOICE
  5246.  
  5247.           remit to:
  5248.             SAMKHYA                      __________________________________
  5249.             27005 Highway 1              Company Name
  5250.             PO Box 13
  5251.             Tomales, CA 94971            __________________________________
  5252.                                          Contact Individual's Name
  5253.             707-878-2914 phone
  5254.             707-878-2802 fax             __________________________________
  5255.                                          Shipping Address
  5256.  
  5257.           Date: __________________       __________________________________
  5258.                                          City State Postal Code
  5259.  
  5260.           Your PO Number: ________       __________________________________
  5261.           (if needed)                    Country
  5262.  
  5263.             disk format 5.25" ____       _________________________
  5264.                          3.5" ____       Phone Number
  5265.  
  5266.           MacroPIK'r for DOS
  5267.           -Registration                                  $35.00 ea ________
  5268.            (includes one year upgrade service)
  5269.  
  5270.           -California deliveries add Sales & Use Tax:              ________
  5271.  
  5272.           -Shipping & Handling (per order):               $5.00    ________
  5273.             or
  5274.           -$10.00 per order outside USA, Canada, Mexico  $10.00    ________
  5275.  
  5276.                                                           Total:   ________
  5277.           Terms:
  5278.              Purchaser acknowledges that the goods have already been
  5279.           delivered on a trial basis, and that this is payment for
  5280.           acceptance.
  5281.              Please remit payment with a copy of this Invoice.
  5282.              Cash, Check or Money Order (drawn on a U.S. bank, in U.S.
  5283.           funds).  Corporate Purchase orders (net 30 days) accepted from
  5284.           large corporations within the US.  All orders outside of the US
  5285.           must be prepaid.  (SAMKHYA Tax ID 550-68-4565.)
  5286.              If MacroPIK'r is no longer supported at the time you send in
  5287.           this registration, your payment will be returned.
  5288.              Contact Samkhya for money saving Site License fee schedule.
  5289.           Prices are subject to change without notice.                (15a)
  5290.  
  5291.                                                      MacroPIK'r User Manual
  5292.                                                                       Index
  5293.  
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301.  
  5302.                                         Index
  5303.  
  5304.  
  5305.                            1-2-3 78               C
  5306.                            -bios 75               Cel-F6 23
  5307.                            -bw 75                 cell
  5308.                            -color 75                 pick 23
  5309.                            -csv 17, 75            Cell command 23
  5310.                            -dbf 17                CGA 16
  5311.                            -dif 17, 75            Col-F2 22
  5312.                            -dos 75                color 16
  5313.                            -flt 17, 75            column
  5314.                            -fxl 17, 75               pick 22
  5315.                            -h 75                  Column command 22
  5316.                            -hdwr 75               column dividers 19
  5317.                            -mono 75               Column Divisions
  5318.                            -nm 75                    See Also:
  5319.                            -plN 75                   Column Markers
  5320.                            -slk 17, 75            Column Height 22
  5321.                            -t 75                  Column Markers 19
  5322.                            -wks 17, 75            column markers
  5323.                                                      changing 19
  5324.                            A                         restore 19
  5325.                            addresses 72           column widths
  5326.                            all                       adjusting 19
  5327.                               pick 23             Comma Separated 17
  5328.                            All command 24         Comma Seperated
  5329.                            All-F8 24                 Values See: CSV
  5330.                            ASP 4                  Command Line
  5331.                            ASP Ombudsman 4           Arguments 74
  5332.                            Association of         Command line
  5333.                               Shareware              switches 17
  5334.                               Professionals 4     compatible BIOS 16
  5335.                                                   compatible DOS 16
  5336.                            B                      CONFIG.SYS
  5337.                            batch 18                  ANSI.SYS driver
  5338.                            Bgn-F1 22                 76
  5339.                            BIOS 16                   FILES= 77
  5340.                            black-and-white        Copy command 40
  5341.                               monitor 16          CSV 80
  5342.                                                   CSV (input) 27
  5343.  
  5344.  
  5345.  
  5346.                                                                     Page 91
  5347.  
  5348.                                                      MacroPIK'r User Manual
  5349.                                                                       Index
  5350.  
  5351.  
  5352.  
  5353.                            CSV (output) 31        EGA 16
  5354.                            Csv-F7 27              European format 79
  5355.                            Ctrl-G Goto 42         european numbers
  5356.                            Ctrl-R Record a           38
  5357.                               Macro 43            Excel 27
  5358.                            Ctrl-R Resume a        Execute command 43
  5359.                               Macro 44            Exit 9
  5360.                            Ctrl-S 45              Exit MacroPIK'r 21
  5361.                            Ctrl-S System
  5362.                               Command 44          F
  5363.                            Ctrl-W Repaint 45      field delimiter 28
  5364.                            Ctrl-X Execute a       File Commands 26
  5365.                               Macro 43            File Formats 78
  5366.                            Cursor 9               file handles 77
  5367.                                                   File Names 78
  5368.                            D                      Find command 29
  5369.                            Data Interchange       Fixed-Length 27
  5370.                               Format 17, 80       Fixed Length files
  5371.                            dBASE 17, 27              Column
  5372.                            dBASE field names         divisions 19
  5373.                               81                  fixed length
  5374.                            dBASE files 81            record files 82
  5375.                            DBF 17, 81             Fixed-Length
  5376.                            DBF (input) 27            Records 17
  5377.                            DBF (output) 31        Flat (input) 27
  5378.                            Dbf-F4 27              Flat (output) 31
  5379.                            default delimiter      Flat file 78
  5380.                               28                  Flat files
  5381.                            default page              Column
  5382.                               length 28              divisions 19
  5383.                            Delete command 41      Flt-F1 27
  5384.                            Delimited See: CSV     Fnd-F5 29
  5385.                            DIF 17, 80             formfeed 28, 78
  5386.                            DIF (input) 27         FXL (input) 27
  5387.                            DIF (output) 31        FXL (output) 31
  5388.                            Dif-F5 27              Fxl-F2 27
  5389.                            directory 28
  5390.                            directory display      G
  5391.                               28                  Goto command 43
  5392.                            DO-IT
  5393.                               defined 8           H
  5394.                            DOS 44                 Help 9, 21
  5395.                            DOS Commands 45        help file 76
  5396.                                                   Hlp-F10 21
  5397.                            E
  5398.                            edit data 35           I
  5399.                               undo 35             In-F3 27
  5400.  
  5401.  
  5402.  
  5403.                                                                     Page 92
  5404.  
  5405.                                                      MacroPIK'r User Manual
  5406.                                                                       Index
  5407.  
  5408.  
  5409.  
  5410.                            Input Commands 27      pick
  5411.                            Insert command 41         all 23
  5412.                            INT 33 82                 cell 23
  5413.                                                      column 22
  5414.                            L                         row 23
  5415.                            label 31               Pick Commands 22
  5416.                            laptops 16             Picking Data 9
  5417.                            Left-Arrow 29          Prv-F10 22
  5418.                            Lotus 17
  5419.                            Lotus format 78        Q
  5420.                                                   Quick Reference 7
  5421.                            M
  5422.                            Macro 18               R
  5423.                            mailing labels 72      Record command 43
  5424.                            map area 9             Record Length 28
  5425.                            Memory Usage 77        Repaint command 45
  5426.                            Metric format 79       Report Area 7
  5427.                            metric numbers 38      Resume command 44
  5428.                            monochrome 16, 75      Right-Arrow 29
  5429.                            mouse 82               row
  5430.                            Move command 39           pick 23
  5431.                            MPIK.TMP 77            Row command 23
  5432.                            Multiplan 27           Row-F4 23
  5433.  
  5434.                            N                      S
  5435.                            negative numbers       Search 29
  5436.                               37                  Search backward 29
  5437.                            number 31              Search forward 29
  5438.                            number command 36      Set Column Widths
  5439.                            Numbers                   20
  5440.                               conversion 83          group 20
  5441.                            numbers                shareware 4
  5442.                               european &          Slk-F9 27
  5443.                               metric 38           start MacroPIK'r
  5444.                               negative 37            16
  5445.                                                   string 29
  5446.                            O                      SYLK 17, 81
  5447.                            Ombudsman 4            SYLK (input) 27
  5448.                            Output commands 31     SYLK (output) 31
  5449.                                                   SYmbolic Link See:
  5450.                            P                         SYLK
  5451.                            Pag-F7 30              System 45
  5452.                            page break 28          System command 44
  5453.                            Page command 30
  5454.                            page length 28, 78     T
  5455.                            Paste Area 7           Temporary Files 77
  5456.                                                   temporary files 76
  5457.  
  5458.  
  5459.  
  5460.                                                                     Page 93
  5461.  
  5462.                                                      MacroPIK'r User Manual
  5463.                                                                       Index
  5464.  
  5465.  
  5466.  
  5467.                            Text                   Virtual Memory 77
  5468.                               conversion 83       VMEM.TMP 77
  5469.                            Text command 38
  5470.                            Transpose command      W
  5471.                               40                  Wildcard File
  5472.                            transpose command         Names 9, 28
  5473.                               example 14          WKS 17
  5474.                            TSR 45                 WKS (input) 27
  5475.                                                   WKS (output) 31
  5476.                            U                      Wks-F3 27
  5477.                            undo                   WKS format 78
  5478.                               editing 35          worksheet 78
  5479.  
  5480.                            V                      X
  5481.                            VGA 16                 Xit-F9 21
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497.  
  5498.  
  5499.  
  5500.  
  5501.  
  5502.  
  5503.  
  5504.  
  5505.  
  5506.  
  5507.  
  5508.  
  5509.  
  5510.  
  5511.  
  5512.  
  5513.  
  5514.  
  5515.  
  5516.  
  5517.                                                                     Page 94
  5518.  
  5519.